1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-05 09:04:41 -05:00
denoland-deno/cli/tests/test_runner_test.ts
Bartek Iwańczuk 8feb30e325
BREAKING: remove overload of Deno.test() (#4951)
This commit removes overload of Deno.test() that accepted named
function.
2020-04-28 12:33:09 +02:00

19 lines
410 B
TypeScript

// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { assert } from "../../std/testing/asserts.ts";
Deno.test("fail1", function () {
assert(false, "fail1 assertion");
});
Deno.test("fail2", function () {
assert(false, "fail2 assertion");
});
Deno.test("success1", function () {
assert(true);
});
Deno.test("fail3", function () {
assert(false, "fail3 assertion");
});