summaryrefslogtreecommitdiff
path: root/std/style_guide.md
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-11 21:50:20 +0100
committerGitHub <noreply@github.com>2020-02-11 21:50:20 +0100
commitb67f20be3b5234bad2565c1770fa89d49942b342 (patch)
tree2e4312c3d06d286bbfa6891457f1e00f0af6dacb /std/style_guide.md
parent61273085e40fb4d992eef4b1b5601e3567c80664 (diff)
update references to testing/mod.ts in manual (#3973)
Diffstat (limited to 'std/style_guide.md')
-rw-r--r--std/style_guide.md3
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" });
});
```