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

Unified Diff: tests/language_strong/loop_hoist_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/loop_hoist_test.dart
diff --git a/tests/language_strong/loop_hoist_test.dart b/tests/language_strong/loop_hoist_test.dart
index 628d635ff7f269bc5dc4a519b97e1a0890060603..5b15ec8e544e345f648b8967099c333503ab09f8 100644
--- a/tests/language_strong/loop_hoist_test.dart
+++ b/tests/language_strong/loop_hoist_test.dart
@@ -8,7 +8,7 @@ class A {
num x;
A() : this.x = 0;
- void bar(){
+ void bar() {
// dart2js hoisted the this.x out of the loop, and missed that setX would
// change the value.
for (int i = 1; i < 3; i++) {
@@ -17,6 +17,7 @@ class A {
break;
}
}
+
setX(x) => this.x = x;
}

Powered by Google App Engine
This is Rietveld 408576698