From 1fcb71b3556ed6d3a9c6bfa8fbf1ad8b700f8578 Mon Sep 17 00:00:00 2001 From: champ Date: Fri, 26 Jun 2020 00:35:34 +0800 Subject: fix typo (#6476) --- docs/testing.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/testing.md') diff --git a/docs/testing.md b/docs/testing.md index c51b597c3..f44483125 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -18,12 +18,11 @@ Deno.test("hello world #1", () => { // Fully fledged test definition, longer form, but configurable (see below) Deno.test({ name: "hello world #2", - fn() => { + fn: () => { const x = 1 + 2; assertEquals(x, 3); - } + }, }); - ``` ## Assertions -- cgit v1.2.3