summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchamp <champion.ge@gmail.com>2020-06-26 00:35:34 +0800
committerGitHub <noreply@github.com>2020-06-25 12:35:34 -0400
commit1fcb71b3556ed6d3a9c6bfa8fbf1ad8b700f8578 (patch)
tree8d9e1fc9b6ef4c768dc524c516ca767e055e2a56
parent6f09b8de4158417c3ffebcca316b806986c7b613 (diff)
fix typo (#6476)
-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