Chromium Code Reviews| Index: tools/testing/dart/multitest.dart |
| diff --git a/tools/testing/dart/multitest.dart b/tools/testing/dart/multitest.dart |
| index 3aed790d6fc096cfb39cfdfac36b5dc026574772..3d710921dc8d788cb18c8375e9b35168a437a1bc 100644 |
| --- a/tools/testing/dart/multitest.dart |
| +++ b/tools/testing/dart/multitest.dart |
| @@ -73,7 +73,7 @@ void ExtractTestsFromMultitest(Path filePath, |
| final String line_separator = |
| (first_newline == 0 || contents[first_newline - 1] != '\r') |
| ? '\n' |
| - : '\r\n'; |
| + : '\R\n'; |
|
Ivan Posva
2015/03/20 19:54:58
?
rmacnak
2015/03/20 20:11:28
Unintentional.
|
| List<String> lines = contents.split(line_separator); |
| if (lines.last == '') lines.removeLast(); |
| bytes = null; |
| @@ -185,7 +185,7 @@ Set<String> _findAllRelativeImports(Path topLibrary) { |
| '^(?:@.*\\s+)?' // Allow for a meta-data annotation. |
| '(import|part)' |
| '\\s+["\']' |
| - '(?!(dart:|dart-ext:|package:|/))' // Look-ahead: not in package. |
| + '(?!(dart:|dart-ext:|data:|package:|/))' // Look-ahead: not in package. |
| '([^"\']*)' // The path to the imported file. |
| '["\']'); |
| while (!toSearch.isEmpty) { |