Index: tests/language_strong/switch7_negative_test.dart |
diff --git a/tests/language_strong/switch7_negative_test.dart b/tests/language_strong/switch7_negative_test.dart |
index c2eceb98cef1d4a7f6c56cbe4ee02371f2cadfe9..7426f411461b1b2c9af1e7de8bf845439e9f0afa 100644 |
--- a/tests/language_strong/switch7_negative_test.dart |
+++ b/tests/language_strong/switch7_negative_test.dart |
@@ -4,15 +4,16 @@ |
// Illegal to reference a labeled case stmt with break |
class Switch7NegativeTest { |
- |
static testMain() { |
- var x = 1; |
- L: while (true) { |
- switch (x) { |
- L: case 1: // Shadowing another label is OK. |
- break L; // illegal, can't reference labeled case stmt from break |
- } |
- } |
+ var x = 1; |
+ L: |
+ while (true) { |
+ switch (x) { |
+ L: |
+ case 1: // Shadowing another label is OK. |
+ break L; // illegal, can't reference labeled case stmt from break |
+ } |
+ } |
} |
} |