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/files_test.ts | |
parent | e8df66c12cbb3e51f8776aa91e6db41bbfdcae5e (diff) |
Remove //tests symlink (#3849)
Diffstat (limited to 'cli/js/files_test.ts')
-rw-r--r-- | cli/js/files_test.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cli/js/files_test.ts b/cli/js/files_test.ts index fca9a3859..8f4beb085 100644 --- a/cli/js/files_test.ts +++ b/cli/js/files_test.ts @@ -24,7 +24,7 @@ testPerm({ read: true }, async function filesCopyToStdout(): Promise<void> { }); testPerm({ read: true }, async function filesToAsyncIterator(): Promise<void> { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = await Deno.open(filename); let totalSize = 0; @@ -297,7 +297,7 @@ testPerm( ); testPerm({ read: true }, async function seekStart(): Promise<void> { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = await Deno.open(filename); // Deliberately move 1 step forward await file.read(new Uint8Array(1)); // "H" @@ -310,7 +310,7 @@ testPerm({ read: true }, async function seekStart(): Promise<void> { }); testPerm({ read: true }, function seekSyncStart(): void { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = Deno.openSync(filename); // Deliberately move 1 step forward file.readSync(new Uint8Array(1)); // "H" @@ -323,7 +323,7 @@ testPerm({ read: true }, function seekSyncStart(): void { }); testPerm({ read: true }, async function seekCurrent(): Promise<void> { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = await Deno.open(filename); // Deliberately move 1 step forward await file.read(new Uint8Array(1)); // "H" @@ -336,7 +336,7 @@ testPerm({ read: true }, async function seekCurrent(): Promise<void> { }); testPerm({ read: true }, function seekSyncCurrent(): void { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = Deno.openSync(filename); // Deliberately move 1 step forward file.readSync(new Uint8Array(1)); // "H" @@ -349,7 +349,7 @@ testPerm({ read: true }, function seekSyncCurrent(): void { }); testPerm({ read: true }, async function seekEnd(): Promise<void> { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = await Deno.open(filename); await file.seek(-6, Deno.SeekMode.SEEK_END); const buf = new Uint8Array(6); @@ -359,7 +359,7 @@ testPerm({ read: true }, async function seekEnd(): Promise<void> { }); testPerm({ read: true }, function seekSyncEnd(): void { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = Deno.openSync(filename); file.seekSync(-6, Deno.SeekMode.SEEK_END); const buf = new Uint8Array(6); @@ -369,7 +369,7 @@ testPerm({ read: true }, function seekSyncEnd(): void { }); testPerm({ read: true }, async function seekMode(): Promise<void> { - const filename = "tests/hello.txt"; + const filename = "cli/tests/hello.txt"; const file = await Deno.open(filename); let err; try { |