| Index: pkg/glob/test/list_test.dart
|
| diff --git a/pkg/glob/test/list_test.dart b/pkg/glob/test/list_test.dart
|
| index ff02343116b3d1213ab5c5cf10b92292c3429429..33275243a759cec0b8746ef343f8c05c16f4735e 100644
|
| --- a/pkg/glob/test/list_test.dart
|
| +++ b/pkg/glob/test/list_test.dart
|
| @@ -251,6 +251,18 @@ void main() {
|
| p.join("foo", "baz", "qux")
|
| ])));
|
| });
|
| +
|
| + test("lists a subdirectory that sometimes exists", () {
|
| + d.dir("top", [
|
| + d.dir("dir1", [
|
| + d.dir("subdir", [d.file("file")])
|
| + ]),
|
| + d.dir("dir2", [])
|
| + ]).create();
|
| +
|
| + expect(list("top/*/subdir/**"),
|
| + completion(equals([p.join("top", "dir1", "subdir", "file")])));
|
| + });
|
| });
|
| }
|
|
|
|
|