Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: tests/language/closure_break1_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language/closure_break1_test.dart
diff --git a/tests/language/closure_break1_test.dart b/tests/language/closure_break1_test.dart
index e1fdcac58c4e9c2131d2945f21be8ebd5ab0ec05..8522fae91d4117b22c74cc04a764591c6b08a0b9 100644
--- a/tests/language/closure_break1_test.dart
+++ b/tests/language/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;
}

Powered by Google App Engine
This is Rietveld 408576698