Index: tools/testing/dart/multitest.dart |
diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart |
index 10ad84a6723c70aac2228ad9370b03d44b5b8d89..b67428505a39476926b8c12f71d3d026b4ef5301 100644 |
--- a/tools/testing/dart/multitest.dart |
+++ b/tools/testing/dart/multitest.dart |
@@ -159,7 +159,7 @@ Set<Path> _findAllRelativeImports(Path topLibrary) { |
Path libraryDir = topLibrary.directoryPath; |
// Matches #import( or #source( followed by " or ' followed by anything |
// except dart:, dart-ext: or /, at the beginning of a line. |
- RegExp relativeImportRegExp = new RegExp( |
+ RegExp relativeImportRegExp = const RegExp( |
'^#(import|source)[(]["\'](?!(dart:|dart-ext:|/))([^"\']*)["\']'); |
while (!toSearch.isEmpty) { |
var thisPass = toSearch; |