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

Unified Diff: tests/language_strong/closure_break_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_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;
}

Powered by Google App Engine
This is Rietveld 408576698