From 7f4dae109e792c8a78da801964243f1bfa053921 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: [PATCH] fix usage code syntax error (#318) --- testing/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/README.md b/testing/README.md index b0c6bfc1af..271ff75e60 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" }); }); ```