From 06ec68d6f4df7c661a91595a3c720ca1c2e42743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Fri, 5 Apr 2019 19:19:13 +0800 Subject: fix usage code syntax error (denoland/deno_std#318) Original: https://github.com/denoland/deno_std/commit/7f4dae109e792c8a78da801964243f1bfa053921 --- testing/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'testing') 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" }); }); ``` -- cgit v1.2.3