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

Unified Diff: tests/language/multiline_newline_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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 | « tests/language/mixin_type_variable_test.dart ('k') | tests/language/named_constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/multiline_newline_test.dart
diff --git a/tests/language/multiline_newline_test.dart b/tests/language/multiline_newline_test.dart
index e081e90bf86ba90cccc57f60591d9916bb168351..1c69440ce482e95835a4cbd964e08e7e764d2dd5 100644
--- a/tests/language/multiline_newline_test.dart
+++ b/tests/language/multiline_newline_test.dart
@@ -32,14 +32,14 @@ main() {
Expect.isTrue(c2);
Expect.isTrue(c3);
- const c4 = c1 ? 1 : 2; // /// 01: ok
- Expect.equals(1, c4); // /// 01: continued
+ const c4 = c1 ? 1 : 2; // //# 01: ok
+ Expect.equals(1, c4); // //# 01: continued
- const c5 = c2 ? 2 : 3; // /// 02: ok
- Expect.equals(2, c5); // /// 02: continued
+ const c5 = c2 ? 2 : 3; // //# 02: ok
+ Expect.equals(2, c5); // //# 02: continued
- const c6 = c3 ? 3 : 4; // /// 03: ok
- Expect.equals(3, c6); // /// 03: continued
+ const c6 = c3 ? 3 : 4; // //# 03: ok
+ Expect.equals(3, c6); // //# 03: continued
const c7 =
cr.constantMultilineString != crlf.constantMultilineString ? true : null;
@@ -51,7 +51,7 @@ main() {
Expect.isNull(c8);
Expect.isNull(c9);
- const c10 = c7 ? 1 : 2; // /// 04: compile-time error
- const c11 = c8 ? 2 : 3; // /// 05: compile-time error
- const c12 = c9 ? 3 : 4; // /// 06: compile-time error
+ const c10 = c7 ? 1 : 2; // //# 04: compile-time error
+ const c11 = c8 ? 2 : 3; // //# 05: compile-time error
+ const c12 = c9 ? 3 : 4; // //# 06: compile-time error
}
« no previous file with comments | « tests/language/mixin_type_variable_test.dart ('k') | tests/language/named_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698