diff options
Diffstat (limited to 'std/style_guide.md')
-rw-r--r-- | std/style_guide.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/std/style_guide.md b/std/style_guide.md index 2ef657004..5a976e117 100644 --- a/std/style_guide.md +++ b/std/style_guide.md @@ -295,10 +295,9 @@ Example of test: ```ts import { assertEquals } from "https://deno.land/std@v0.11/testing/asserts.ts"; -import { test } from "https://deno.land/std@v0.11/testing/mod.ts"; import { foo } from "./mod.ts"; -test(function myTestFunction() { +Deno.test(function myTestFunction() { assertEquals(foo(), { bar: "bar" }); }); ``` |