From 7a4d0fc22b08f71f17d6efbdd89a28fc8fcb452f Mon Sep 17 00:00:00 2001 From: Liam Murphy <43807659+Liamolucko@users.noreply.github.com> Date: Tue, 1 Dec 2020 01:34:36 +1100 Subject: feat(std/fs): Re-enable `followSymlinks` on `walk()` (#8479) --- std/fs/walk_test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'std/fs/walk_test.ts') diff --git a/std/fs/walk_test.ts b/std/fs/walk_test.ts index c772f4912..eae21f7b1 100644 --- a/std/fs/walk_test.ts +++ b/std/fs/walk_test.ts @@ -252,12 +252,11 @@ testWalk( async function symlink(): Promise { assertReady(6); const files = await walkArray("a"); - assertEquals(files.length, 2); + assertEquals(files.length, 3); assert(!files.includes("a/bb/z")); const arr = await walkArray("a", { followSymlinks: true }); - assertEquals(arr.length, 3); + assertEquals(arr.length, 5); assert(arr.some((f): boolean => f.endsWith("/b/z"))); }, - true, ); -- cgit v1.2.3