summaryrefslogtreecommitdiff
path: root/std/style_guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'std/style_guide.md')
-rw-r--r--std/style_guide.md2
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" });
});
```