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

Unified Diff: tests/language_strong/condition_bailout_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/condition_bailout_test.dart
diff --git a/tests/language_strong/condition_bailout_test.dart b/tests/language_strong/condition_bailout_test.dart
index 738d9d7a060a024b7c471af78f2e62cf4568c27f..d5d08e1718936b024431855695db4e74816e9ced 100644
--- a/tests/language_strong/condition_bailout_test.dart
+++ b/tests/language_strong/condition_bailout_test.dart
@@ -10,19 +10,19 @@ class A {
foo(x) {
-a;
- if(x) return true;
+ if (x) return true;
return false;
}
loop1(x) {
-a;
- while(x) return true;
+ while (x) return true;
return false;
}
loop2(x) {
-a;
- for(;x;) return true;
+ for (; x;) return true;
return false;
}
@@ -31,7 +31,7 @@ class A {
var i = 0;
do {
if (i++ == 1) return false;
- } while(!x);
+ } while (!x);
return true;
}
}

Powered by Google App Engine
This is Rietveld 408576698