Index: pkg/front_end/testcases/rasta/switch_fall_through.dart |
diff --git a/pkg/front_end/testcases/rasta/switch_fall_through.dart b/pkg/front_end/testcases/rasta/switch_fall_through.dart |
index ebc0239f18de4b6e00beac2952539d8c5010f9fb..422100cfb178c5a85a1e0378a0820d9d01c23e4b 100644 |
--- a/pkg/front_end/testcases/rasta/switch_fall_through.dart |
+++ b/pkg/front_end/testcases/rasta/switch_fall_through.dart |
@@ -5,18 +5,18 @@ |
main() { |
switch (1) { |
case 1: |
- { |
- "No fall-through error needed."; |
- break; |
- ; // Empty statement. |
- } |
- case 2: |
- { |
- "Fall-through error needed."; |
- if (true) { |
+ { |
+ "No fall-through error needed."; |
break; |
+ ; // Empty statement. |
+ } |
+ case 2: |
+ { |
+ "Fall-through error needed."; |
+ if (true) { |
+ break; |
+ } |
} |
- } |
case 3: |
try { |
"No fall-through error needed."; |
@@ -27,13 +27,11 @@ main() { |
try { |
"No fall-through error needed."; |
break; |
- } finally { |
- } |
+ } finally {} |
case 5: |
try { |
"Fall-through error needed."; |
- } finally { |
- } |
+ } finally {} |
case 10000: |
"Should be last. No fall-through error, falling through allowed here."; |
} |