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/path/parse_format_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 'std/path/parse_format_test.ts')
-rw-r--r-- | std/path/parse_format_test.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/std/path/parse_format_test.ts b/std/path/parse_format_test.ts index 60be3c9a1..2bd510551 100644 --- a/std/path/parse_format_test.ts +++ b/std/path/parse_format_test.ts @@ -113,20 +113,20 @@ function checkFormat(path: any, testCases: unknown[][]): void { }); } -test(function parseWin32() { +test("parseWin32", function () { checkParseFormat(path.win32, winPaths); checkSpecialCaseParseFormat(path.win32, winSpecialCaseParseTests); }); -test(function parse() { +test("parse", function () { checkParseFormat(path.posix, unixPaths); }); -test(function formatWin32() { +test("formatWin32", function () { checkFormat(path.win32, winSpecialCaseFormatTests); }); -test(function format() { +test("format", function () { checkFormat(path.posix, unixSpecialCaseFormatTests); }); @@ -162,7 +162,7 @@ const posixTrailingTests = [ ], ]; -test(function parseTrailingWin32() { +test("parseTrailingWin32", function () { windowsTrailingTests.forEach(function (p) { const actual = path.win32.parse(p[0] as string); const expected = p[1]; @@ -170,7 +170,7 @@ test(function parseTrailingWin32() { }); }); -test(function parseTrailing() { +test("parseTrailing", function () { posixTrailingTests.forEach(function (p) { const actual = path.posix.parse(p[0] as string); const expected = p[1]; |