From 8feb30e3258ed9690eb850e3ca22842b260a0403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 28 Apr 2020 12:33:09 +0200 Subject: BREAKING: remove overload of Deno.test() (#4951) This commit removes overload of Deno.test() that accepted named function. --- std/manual.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/manual.md') diff --git a/std/manual.md b/std/manual.md index 70610e19f..bd64cb409 100644 --- a/std/manual.md +++ b/std/manual.md @@ -491,11 +491,11 @@ uses a URL to import an assertion library: ```ts import { assertEquals } from "https://deno.land/std/testing/asserts.ts"; -Deno.test(function t1() { +Deno.test("t1", function () { assertEquals("hello", "hello"); }); -Deno.test(function t2() { +Deno.test("t2", function () { assertEquals("world", "world"); }); ``` -- cgit v1.2.3