| 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..7b9e9997cbb5d07a472c3c4e2b30e839336245df 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;
|
| }
|
|
|