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