diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-28 12:33:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 12:33:09 +0200 |
commit | 8feb30e3258ed9690eb850e3ca22842b260a0403 (patch) | |
tree | 6805bfe3df675c2c7f6a379093061c6b73d8365a /std/manual.md | |
parent | b508e845671de9351c3f51755647371d76128d29 (diff) |
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
Diffstat (limited to 'std/manual.md')
-rw-r--r-- | std/manual.md | 4 |
1 files changed, 2 insertions, 2 deletions
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"); }); ``` |