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

Unified Diff: tests/language/switch_bad_case_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/super_operator_index_test.dart ('k') | tests/language/switch_case_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/switch_bad_case_test.dart
diff --git a/tests/language/switch_bad_case_test.dart b/tests/language/switch_bad_case_test.dart
index 7b9e9997cbb5d07a472c3c4e2b30e839336245df..29c2843d44b39d166355de585c0fbabbe8cba4f1 100644
--- a/tests/language/switch_bad_case_test.dart
+++ b/tests/language/switch_bad_case_test.dart
@@ -19,18 +19,18 @@ caesarSays(n) {
return "I";
case 4:
return "IV";
- case "M": // /// 01: compile-time error
- return 1000; // /// 01: continued
+ case "M": // //# 01: compile-time error
+ return 1000; // //# 01: continued
}
return null;
}
archimedesSays(n) {
- switch (n) { // /// 02: continued
- case 3.14: // /// 02: compile-time error
- return "Pi"; // /// 02: continued
- case 2.71828: // /// 02: continued
- return "Huh?"; // /// 02: continued
- } // /// 02: continued
+ switch (n) { // //# 02: continued
+ case 3.14: // //# 02: compile-time error
+ return "Pi"; // //# 02: continued
+ case 2.71828: // //# 02: continued
+ return "Huh?"; // //# 02: continued
+ } // //# 02: continued
return null;
}
« no previous file with comments | « tests/language/super_operator_index_test.dart ('k') | tests/language/switch_case_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698