summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/testing.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/testing.md b/docs/testing.md
index c51b597c3..f44483125 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -18,12 +18,11 @@ Deno.test("hello world #1", () => {
// Fully fledged test definition, longer form, but configurable (see below)
Deno.test({
name: "hello world #2",
- fn() => {
+ fn: () => {
const x = 1 + 2;
assertEquals(x, 3);
- }
+ },
});
-
```
## Assertions