Index: tests/language_strong/closure_break1_test.dart |
diff --git a/tests/language_strong/closure_break1_test.dart b/tests/language_strong/closure_break1_test.dart |
index e1fdcac58c4e9c2131d2945f21be8ebd5ab0ec05..8522fae91d4117b22c74cc04a764591c6b08a0b9 100644 |
--- a/tests/language_strong/closure_break1_test.dart |
+++ b/tests/language_strong/closure_break1_test.dart |
@@ -18,15 +18,17 @@ class ClosureBreak1Test { |
o1.field++; |
Expect.equals(8, newstr.length); |
} |
+ |
bool loop = true; |
L: |
while (loop) { |
String newstr1 = "abcd"; |
var o2 = new ClosureBreak1(3); |
foo1() { |
- o2.field++; |
- Expect.equals(4, newstr1.length); |
+ o2.field++; |
+ Expect.equals(4, newstr1.length); |
} |
+ |
Expect.equals(4, newstr1.length); |
while (loop) { |
int newint = 0; |
@@ -35,6 +37,7 @@ class ClosureBreak1Test { |
o3.field++; |
Expect.equals(0, newint); |
} |
+ |
foo2(); |
break L; |
} |