| Index: tools/testing/dart/multitest.dart
|
| diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart
|
| index 4116780d9c4293289da45885bc5afe33b5763aea..3c9c535dfd73e39f72b115ae8240f4d83c9c600b 100644
|
| --- a/tools/testing/dart/multitest.dart
|
| +++ b/tools/testing/dart/multitest.dart
|
| @@ -179,12 +179,7 @@ Set<String> _findAllRelativeImports(Path topLibrary) {
|
| Set<String> foundImports = new Set<String>();
|
| Path libraryDir = topLibrary.directoryPath;
|
| RegExp relativeImportRegExp = new RegExp(
|
| - '^(?:@.*\\s+)?' // Allow for a meta-data annotation.
|
| - '(import|part)'
|
| - '\\s+["\']'
|
| - '(?!(dart:|dart-ext:|package:|/))' // Look-ahead: not in package.
|
| - '([^"\']*)' // The path to the imported file.
|
| - '["\']');
|
| + '^(import|part)\\s+["\'](?!(dart:|dart-ext:|package:|/))([^"\']*)["\']');
|
| while (!toSearch.isEmpty) {
|
| var thisPass = toSearch;
|
| toSearch = new Set<Path>();
|
|
|