Chromium Code Reviews| Index: tools/testing/dart/multitest.dart |
| diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart |
| index 3c9c535dfd73e39f72b115ae8240f4d83c9c600b..9d9642312b55fb4ea34227bc7238b3a3b58d1b10 100644 |
| --- a/tools/testing/dart/multitest.dart |
| +++ b/tools/testing/dart/multitest.dart |
| @@ -179,7 +179,7 @@ Set<String> _findAllRelativeImports(Path topLibrary) { |
| Set<String> foundImports = new Set<String>(); |
| Path libraryDir = topLibrary.directoryPath; |
| RegExp relativeImportRegExp = new RegExp( |
| - '^(import|part)\\s+["\'](?!(dart:|dart-ext:|package:|/))([^"\']*)["\']'); |
| + '^(?:@\\w+\\s+)?(import|part)\\s+["\'](?!(dart:|dart-ext:|package:|/))([^"\']*)["\']'); |
|
floitsch
2014/02/17 14:22:32
long line.
|
| while (!toSearch.isEmpty) { |
| var thisPass = toSearch; |
| toSearch = new Set<Path>(); |