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

Unified Diff: tests/language/const_conditional_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
Index: tests/language/const_conditional_test.dart
diff --git a/tests/language/const_conditional_test.dart b/tests/language/const_conditional_test.dart
index f2ed35d6b535300519409e119ba2cdfc4ab994ff..bae4396a66d02022c9d935a03a0e3b83abbc7b01 100644
--- a/tests/language/const_conditional_test.dart
+++ b/tests/language/const_conditional_test.dart
@@ -22,35 +22,35 @@ var nonConst = true;
const zeroConst = 0;
const cond1 = trueConst ? const0 : const1;
-const cond1a = trueConst ? nonConst : const1; /// 01: compile-time error
-const cond1b = trueConst ? const0 : nonConst; /// 02: compile-time error
+const cond1a = trueConst ? nonConst : const1; //# 01: compile-time error
+const cond1b = trueConst ? const0 : nonConst; //# 02: compile-time error
const cond2 = falseConst ? const0 : const1;
-const cond2a = falseConst ? nonConst : const1; /// 03: compile-time error
-const cond2b = falseConst ? const0 : nonConst; /// 04: compile-time error
+const cond2a = falseConst ? nonConst : const1; //# 03: compile-time error
+const cond2b = falseConst ? const0 : nonConst; //# 04: compile-time error
-const cond3 = nonConst ? const0 : const1; /// 05: compile-time error
-const cond3a = nonConst ? nonConst : const1; /// 06: compile-time error
-const cond3b = nonConst ? const0 : nonConst; /// 07: compile-time error
+const cond3 = nonConst ? const0 : const1; //# 05: compile-time error
+const cond3a = nonConst ? nonConst : const1; //# 06: compile-time error
+const cond3b = nonConst ? const0 : nonConst; //# 07: compile-time error
-const cond4 = zeroConst ? const0 : const1; /// 08: compile-time error
-const cond4a = zeroConst ? nonConst : const1; /// 09: compile-time error
-const cond4b = zeroConst ? const0 : nonConst; /// 10: compile-time error
+const cond4 = zeroConst ? const0 : const1; //# 08: compile-time error
+const cond4a = zeroConst ? nonConst : const1; //# 09: compile-time error
+const cond4b = zeroConst ? const0 : nonConst; //# 10: compile-time error
void main() {
Expect.identical(var0, cond1);
- Expect.identical(nonConst, cond1a); /// 01: continued
- Expect.identical(var0, cond1b); /// 02: continued
+ Expect.identical(nonConst, cond1a); //# 01: continued
+ Expect.identical(var0, cond1b); //# 02: continued
Expect.identical(var1, cond2);
- Expect.identical(var1, cond2a); /// 03: continued
- Expect.identical(nonConst, cond2b); /// 04: continued
+ Expect.identical(var1, cond2a); //# 03: continued
+ Expect.identical(nonConst, cond2b); //# 04: continued
- Expect.identical(var0, cond3); // /// 05: continued
- Expect.identical(nonConst, cond3a); /// 06: continued
- Expect.identical(var0, cond3b); /// 07: continued
+ Expect.identical(var0, cond3); // //# 05: continued
+ Expect.identical(nonConst, cond3a); //# 06: continued
+ Expect.identical(var0, cond3b); //# 07: continued
- Expect.identical(var1, cond4); // /// 08: continued
- Expect.identical(var1, cond4a); /// 09: continued
- Expect.identical(nonConst, cond4b); /// 10: continued
+ Expect.identical(var1, cond4); // //# 08: continued
+ Expect.identical(var1, cond4a); //# 09: continued
+ Expect.identical(nonConst, cond4b); //# 10: continued
}
« no previous file with comments | « tests/language/conditional_property_increment_decrement_test.dart ('k') | tests/language/const_constructor2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698