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

Unified Diff: tests/language/switch_bad_case_test.dart

Issue 2765693002: Update all tests (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/switch_bad_case_test.dart
diff --git a/tests/language/switch_bad_case_test.dart b/tests/language/switch_bad_case_test.dart
index 8211521dac5a78a052d3cd3e3e284fa5219d4b8a..7c2a8250ae0e93aa439b5c9eb37f6c4c1e003ba9 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;
}

Powered by Google App Engine
This is Rietveld 408576698