diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2020-03-29 04:03:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 13:03:49 -0400 |
commit | bced52505f32d6cca4f944bb610a8a26767908a8 (patch) | |
tree | da49a5df4b7bd6f8306248069228cd6bd0db1303 /std/fs/utils_test.ts | |
parent | 1397b8e0e7c85762e19d88fde103342bfa563360 (diff) |
Update to Prettier 2 and use ES Private Fields (#4498)
Diffstat (limited to 'std/fs/utils_test.ts')
-rw-r--r-- | std/fs/utils_test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/std/fs/utils_test.ts b/std/fs/utils_test.ts index 93f4664e7..95686d824 100644 --- a/std/fs/utils_test.ts +++ b/std/fs/utils_test.ts @@ -17,10 +17,10 @@ Deno.test(function _isSubdir(): void { ["first", "first/second", true, path.posix.sep], ["../first", "../first/second", true, path.posix.sep], ["c:\\first", "c:\\first", false, path.win32.sep], - ["c:\\first", "c:\\first\\second", true, path.win32.sep] + ["c:\\first", "c:\\first\\second", true, path.win32.sep], ]; - pairs.forEach(function(p): void { + pairs.forEach(function (p): void { const src = p[0] as string; const dest = p[1] as string; const expected = p[2] as boolean; @@ -36,10 +36,10 @@ Deno.test(function _isSubdir(): void { Deno.test(function _getFileInfoType(): void { const pairs = [ [path.join(testdataDir, "file_type_1"), "file"], - [path.join(testdataDir, "file_type_dir_1"), "dir"] + [path.join(testdataDir, "file_type_dir_1"), "dir"], ]; - pairs.forEach(function(p): void { + pairs.forEach(function (p): void { const filePath = p[0] as string; const type = p[1] as PathType; switch (type) { |