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/fs/utils_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/fs/utils_test.ts')
| -rw-r--r-- | std/fs/utils_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/utils_test.ts b/std/fs/utils_test.ts index 95686d824..e104e3e7d 100644 --- a/std/fs/utils_test.ts +++ b/std/fs/utils_test.ts @@ -8,7 +8,7 @@ import { ensureDirSync } from "./ensure_dir.ts"; const testdataDir = path.resolve("fs", "testdata"); -Deno.test(function _isSubdir(): void { +Deno.test("_isSubdir", function (): void { const pairs = [ ["", "", false, path.posix.sep], ["/first/second", "/first", false, path.posix.sep], @@ -33,7 +33,7 @@ Deno.test(function _isSubdir(): void { }); }); -Deno.test(function _getFileInfoType(): void { +Deno.test("_getFileInfoType", function (): void { const pairs = [ [path.join(testdataDir, "file_type_1"), "file"], [path.join(testdataDir, "file_type_dir_1"), "dir"], |
