mirror of
https://github.com/denoland/deno.git
synced 2025-09-20 01:19:51 +00:00
Remove //tests symlink (#3849)
This commit is contained in:
parent
e8df66c12c
commit
f168597b7a
28 changed files with 121 additions and 116 deletions
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue