| Index: pkg/analyzer/test/src/util/glob_test.dart
|
| diff --git a/pkg/analyzer/test/src/util/glob_test.dart b/pkg/analyzer/test/src/util/glob_test.dart
|
| index d3bc531ccfd6b09213ed5c89953da835f699194e..a3e69ec8af994d846c79d4d89d1d0a68dfa0b69b 100644
|
| --- a/pkg/analyzer/test/src/util/glob_test.dart
|
| +++ b/pkg/analyzer/test/src/util/glob_test.dart
|
| @@ -62,6 +62,16 @@ class GlobPosixTest {
|
| // does not end with 'dart'
|
| expect(glob.matches(r'/web/foo.html'), isFalse);
|
| }
|
| +
|
| + void test_starStar_star() {
|
| + Glob glob = new Glob(r'/', r'**/*.dart');
|
| + expect(glob.matches(r'foo/bar.dart'), isTrue);
|
| + expect(glob.matches(r'foo/bar/baz.dart'), isTrue);
|
| + expect(glob.matches(r'/foo/bar.dart'), isTrue);
|
| + expect(glob.matches(r'/foo/bar/baz.dart'), isTrue);
|
| + // does not end with 'dart'
|
| + expect(glob.matches(r'/web/foo.html'), isFalse);
|
| + }
|
| }
|
|
|
| @reflectiveTest
|
|
|