diff options
| author | 迷渡 <justjavac@gmail.com> | 2019-04-05 19:19:13 +0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-04-05 14:19:13 +0300 |
| commit | 06ec68d6f4df7c661a91595a3c720ca1c2e42743 (patch) | |
| tree | 03715e150ac6b84542b3eb149ee318e2964b63dd | |
| parent | ae9148752ca1ec8dbbfd121dabc44c724bd8f7fd (diff) | |
fix usage code syntax error (denoland/deno_std#318)
Original: https://github.com/denoland/deno_std/commit/7f4dae109e792c8a78da801964243f1bfa053921
| -rw-r--r-- | testing/README.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/README.md b/testing/README.md index b0c6bfc1a..271ff75e6 100644 --- a/testing/README.md +++ b/testing/README.md @@ -51,8 +51,8 @@ import { assertEquals } from "https://deno.land/std/testing/asserts.ts"; test({ name: "testing example", fn() { - assertEquals("world", "world")); - assertEquals({ hello: "world" }, { hello: "world" })); + assertEquals("world", "world"); + assertEquals({ hello: "world" }, { hello: "world" }); } }); @@ -63,8 +63,8 @@ Short syntax (named function instead of object): ```ts test(function example() { - assertEquals("world", "world")); - assertEquals({ hello: "world" }, { hello: "world" })); + assertEquals("world", "world"); + assertEquals({ hello: "world" }, { hello: "world" }); }); ``` |
