diff options
author | Luka Hartwig <mail@lukahartwig.de> | 2020-02-02 22:55:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 16:55:22 -0500 |
commit | f168597b7ab81afda3bf4749a81c360d364e7cf1 (patch) | |
tree | 4082e9eebf03cc7b3b653822c52a54a62e308d15 /cli/js/read_dir_test.ts | |
parent | e8df66c12cbb3e51f8776aa91e6db41bbfdcae5e (diff) |
Remove //tests symlink (#3849)
Diffstat (limited to 'cli/js/read_dir_test.ts')
-rw-r--r-- | cli/js/read_dir_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/read_dir_test.ts b/cli/js/read_dir_test.ts index 8cc66caee..77d2cbfe2 100644 --- a/cli/js/read_dir_test.ts +++ b/cli/js/read_dir_test.ts @@ -13,7 +13,7 @@ function assertSameContent(files: FileInfo[]): void { } if (file.name === "002_hello.ts") { - assertEquals(file.mode!, Deno.statSync(`tests/${file.name}`).mode!); + assertEquals(file.mode!, Deno.statSync(`cli/tests/${file.name}`).mode!); counter++; } } @@ -22,7 +22,7 @@ function assertSameContent(files: FileInfo[]): void { } testPerm({ read: true }, function readDirSyncSuccess(): void { - const files = Deno.readDirSync("tests/"); + const files = Deno.readDirSync("cli/tests/"); assertSameContent(files); }); @@ -67,7 +67,7 @@ testPerm({ read: true }, function readDirSyncNotFound(): void { }); testPerm({ read: true }, async function readDirSuccess(): Promise<void> { - const files = await Deno.readDir("tests/"); + const files = await Deno.readDir("cli/tests/"); assertSameContent(files); }); |