Index: sdk/lib/_internal/pub/test/io_test.dart |
diff --git a/sdk/lib/_internal/pub/test/io_test.dart b/sdk/lib/_internal/pub/test/io_test.dart |
index bc8d708afb0a0e8ec4c592e21cafd3e96639119c..75e012d0b3f99723d913e9341c407b870e85dbac 100644 |
--- a/sdk/lib/_internal/pub/test/io_test.dart |
+++ b/sdk/lib/_internal/pub/test/io_test.dart |
@@ -115,7 +115,11 @@ main() { |
expect(listDir(temp, recursive: true), unorderedEquals([ |
path.join(temp, 'file1.txt'), |
- path.join(temp, 'linkdir') |
+ path.join(temp, 'linkdir'), |
+ // dart:io documents that recursive symlinks will cause entries to |
+ // appear twice. |
+ path.join(temp, 'linkdir/file1.txt'), |
+ path.join(temp, 'linkdir/linkdir') |
])); |
}), completes); |
}); |