| 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 a3d7b0e8920522cc51c11f5501f09f6c219adde9..cc5d2c4d6124e3e38e1e6be34f34b99c96df9b32 100644
|
| --- a/sdk/lib/_internal/pub/test/io_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/io_test.dart
|
| @@ -50,6 +50,22 @@ main() {
|
| ]));
|
| }), completes);
|
| });
|
| +
|
| + test("doesn't ignore hidden files above the directory being listed", () {
|
| + expect(withTempDir((temp) {
|
| + var dir = path.join(temp, '.foo', 'bar');
|
| + ensureDir(dir);
|
| + writeTextFile(path.join(dir, 'file1.txt'), '');
|
| + writeTextFile(path.join(dir, 'file2.txt'), '');
|
| + writeTextFile(path.join(dir, 'file3.txt'), '');
|
| +
|
| + expect(listDir(dir, recursive: true), unorderedEquals([
|
| + path.join(dir, 'file1.txt'),
|
| + path.join(dir, 'file2.txt'),
|
| + path.join(dir, 'file3.txt')
|
| + ]));
|
| + }), completes);
|
| + });
|
| });
|
|
|
| group('canonicalize', () {
|
|
|