mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
fix usage code syntax error (denoland/deno_std#318)
Original: 7f4dae109e
This commit is contained in:
parent
ae9148752c
commit
06ec68d6f4
1 changed files with 4 additions and 4 deletions
|
@ -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" });
|
||||
});
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue