Index: tests/language_strong/switch_case_test.dart |
diff --git a/tests/language_strong/switch_case_test.dart b/tests/language_strong/switch_case_test.dart |
index 2ed1df5b28450c1bd6494e846fc9147307ebf281..64362fec7c08b19331e65f369dd9fa0125dd9ed2 100644 |
--- a/tests/language_strong/switch_case_test.dart |
+++ b/tests/language_strong/switch_case_test.dart |
@@ -34,14 +34,22 @@ main() { |
} |
switch (new C()) { |
- case const C(): Expect.fail("bad switch"); break; |
- case const A.C(): Expect.fail("bad switch"); break; |
- case const A.C2(): Expect.fail("bad switch"); break; |
+ case const C(): |
+ Expect.fail("bad switch"); |
+ break; |
+ case const A.C(): |
+ Expect.fail("bad switch"); |
+ break; |
+ case const A.C2(): |
+ Expect.fail("bad switch"); |
+ break; |
case const A(): Expect.fail("bad switch"); break; // //# 01: compile-time error |
} |
switch (new A()) { |
- case const A(): Expect.fail("bad switch"); break; |
+ case const A(): |
+ Expect.fail("bad switch"); |
+ break; |
case const A.B(): Expect.fail("bad switch"); break; // //# 02: compile-time error |
} |
} |