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/dirname_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/dirname_test.ts')
-rw-r--r-- | std/path/dirname_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/path/dirname_test.ts b/std/path/dirname_test.ts index 4ce80eef3..a00c8bc46 100644 --- a/std/path/dirname_test.ts +++ b/std/path/dirname_test.ts @@ -5,7 +5,7 @@ const { test } = Deno; import { assertEquals } from "../testing/asserts.ts"; import * as path from "./mod.ts"; -test(function dirname() { +test("dirname", function () { assertEquals(path.posix.dirname("/a/b/"), "/a"); assertEquals(path.posix.dirname("/a/b"), "/a"); assertEquals(path.posix.dirname("/a"), "/"); @@ -16,7 +16,7 @@ test(function dirname() { assertEquals(path.posix.dirname("foo"), "."); }); -test(function dirnameWin32() { +test("dirnameWin32", function () { assertEquals(path.win32.dirname("c:\\"), "c:\\"); assertEquals(path.win32.dirname("c:\\foo"), "c:\\"); assertEquals(path.win32.dirname("c:\\foo\\"), "c:\\"); |