mirror of
https://github.com/denoland/deno.git
synced 2025-01-13 09:32:24 -05:00
re-enable follow symlinks walk test on Windows (#6626)
This commit is contained in:
parent
79400b8f7d
commit
e91594935a
1 changed files with 1 additions and 12 deletions
|
@ -239,7 +239,6 @@ testWalk(
|
|||
}
|
||||
);
|
||||
|
||||
// TODO(ry) Re-enable followSymlinks
|
||||
testWalk(
|
||||
async (d: string): Promise<void> => {
|
||||
await Deno.mkdir(d + "/a");
|
||||
|
@ -247,19 +246,9 @@ testWalk(
|
|||
await touch(d + "/a/x");
|
||||
await touch(d + "/a/y");
|
||||
await touch(d + "/b/z");
|
||||
try {
|
||||
await Deno.symlink(d + "/b", d + "/a/bb");
|
||||
} catch (err) {
|
||||
assert(Deno.build.os == "windows");
|
||||
assertEquals(err.message, "Not implemented");
|
||||
}
|
||||
await Deno.symlink(d + "/b", d + "/a/bb");
|
||||
},
|
||||
async function symlink(): Promise<void> {
|
||||
// symlink is not yet implemented on Windows.
|
||||
if (Deno.build.os == "windows") {
|
||||
return;
|
||||
}
|
||||
|
||||
assertReady(6);
|
||||
const files = await walkArray("a");
|
||||
assertEquals(files.length, 2);
|
||||
|
|
Loading…
Reference in a new issue