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 /cli/tests/test_runner_test.ts | |
parent | b508e845671de9351c3f51755647371d76128d29 (diff) |
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
Diffstat (limited to 'cli/tests/test_runner_test.ts')
-rw-r--r-- | cli/tests/test_runner_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/test_runner_test.ts b/cli/tests/test_runner_test.ts index 006eca07c..680bc5c2f 100644 --- a/cli/tests/test_runner_test.ts +++ b/cli/tests/test_runner_test.ts @@ -2,18 +2,18 @@ import { assert } from "../../std/testing/asserts.ts"; -Deno.test(function fail1() { +Deno.test("fail1", function () { assert(false, "fail1 assertion"); }); -Deno.test(function fail2() { +Deno.test("fail2", function () { assert(false, "fail2 assertion"); }); -Deno.test(function success1() { +Deno.test("success1", function () { assert(true); }); -Deno.test(function fail3() { +Deno.test("fail3", function () { assert(false, "fail3 assertion"); }); |