Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1681)

Unified Diff: pkg/dev_compiler/test/multitest.dart

Issue 2371113004: Use .packages instead of pubspec.yaml (Closed)
Patch Set: Mark clang as passing Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dev_compiler/test/codegen_test.dart ('k') | pkg/dev_compiler/test/not_yet_strong_tests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « pkg/dev_compiler/test/codegen_test.dart ('k') | pkg/dev_compiler/test/not_yet_strong_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698