BREAKING: remove overload of Deno.test() (#4951)

This commit removes overload of Deno.test() that accepted named
function.
This commit is contained in:
Bartek Iwańczuk 2020-04-28 12:33:09 +02:00 committed by GitHub
parent b508e84567
commit 8feb30e325
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 446 additions and 471 deletions

View file

@ -3,7 +3,7 @@ const { test } = Deno;
import { assertEquals, assert } from "../testing/asserts.ts";
import { deepAssign } from "./deep_assign.ts";
test(function deepAssignTest(): void {
test("deepAssignTest", function (): void {
const date = new Date("1979-05-27T07:32:00Z");
const reg = RegExp(/DENOWOWO/);
const obj1 = { deno: { bar: { deno: ["is", "not", "node"] } } };