| Index: pkg/dev_compiler/test/multitest.dart
|
| diff --git a/pkg/dev_compiler/test/multitest.dart b/pkg/dev_compiler/test/multitest.dart
|
| index c5fcf990a413d6563ea9c2ddc2bb3c90993751c3..6d9acd7e0338f9e2bcd2037fe81e1ca7f68d6fdb 100644
|
| --- a/pkg/dev_compiler/test/multitest.dart
|
| +++ b/pkg/dev_compiler/test/multitest.dart
|
| @@ -73,8 +73,10 @@ bool isMultiTest(String contents) => _multiTestRegExp.hasMatch(contents);
|
| void extractTestsFromMultitest(String filePath, String contents,
|
| Map<String, String> tests, Map<String, Set<String>> outcomes) {
|
| int first_newline = contents.indexOf('\n');
|
| - final String line_separator = (first_newline == 0 ||
|
| - contents[first_newline - 1] != '\r') ? '\n' : '\r\n';
|
| + final String line_separator =
|
| + (first_newline == 0 || contents[first_newline - 1] != '\r')
|
| + ? '\n'
|
| + : '\r\n';
|
| List<String> lines = contents.split(line_separator);
|
| if (lines.last == '') lines.removeLast();
|
| contents = null;
|
|
|