mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 16:49:18 -05:00
8feb30e325
This commit removes overload of Deno.test() that accepted named function.
19 lines
410 B
TypeScript
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");
|
|
});
|