diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-28 12:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:33:09 +0200 |
commit | 8feb30e3258ed9690eb850e3ca22842b260a0403 (patch) | |
tree | 6805bfe3df675c2c7f6a379093061c6b73d8365a /std/style_guide.md | |
parent | b508e845671de9351c3f51755647371d76128d29 (diff) |
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
Diffstat (limited to 'std/style_guide.md')
-rw-r--r-- | std/style_guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/style_guide.md b/std/style_guide.md index 0d286afcd..264b3bb8e 100644 --- a/std/style_guide.md +++ b/std/style_guide.md @@ -281,7 +281,7 @@ Example of test: import { assertEquals } from "https://deno.land/std@v0.11/testing/asserts.ts"; import { foo } from "./mod.ts"; -Deno.test(function myTestFunction() { +Deno.test("myTestFunction" function() { assertEquals(foo(), { bar: "bar" }); }); ``` |