Index: tests/language_strong/closure_break_test.dart |
diff --git a/tests/language_strong/closure_break_test.dart b/tests/language_strong/closure_break_test.dart |
index e21717bb34a6a682b7a3b023df8c0c1d8eecc1dd..ae99035cab990acdbb10857a3d1b1d407108f9a5 100644 |
--- a/tests/language_strong/closure_break_test.dart |
+++ b/tests/language_strong/closure_break_test.dart |
@@ -18,22 +18,27 @@ class ClosureBreakTest { |
o1.field++; |
Expect.equals(8, newstr.length); |
} |
+ |
bool loop = true; |
- L1: while (loop) { |
+ L1: |
+ while (loop) { |
String newstr1 = "abcd"; |
var o2 = new ClosureBreak(3); |
foo1() { |
- o2.field++; |
- Expect.equals(4, newstr1.length); |
+ o2.field++; |
+ Expect.equals(4, newstr1.length); |
} |
+ |
Expect.equals(4, newstr1.length); |
- L2: while (loop) { |
+ L2: |
+ while (loop) { |
int newint = 0; |
var o3 = new ClosureBreak(3); |
foo2() { |
o3.field++; |
Expect.equals(0, newint); |
} |
+ |
foo2(); |
break L2; |
} |