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

Unified Diff: tests/language_strong/field_optimization3_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/field_optimization3_test.dart
diff --git a/tests/language_strong/field_optimization3_test.dart b/tests/language_strong/field_optimization3_test.dart
index bb551f7e675b4e35b2f4f7e0e607aaddcd80d140..fa9f8992e818a7e1e0693305fb5928fed805b5b2 100644
--- a/tests/language_strong/field_optimization3_test.dart
+++ b/tests/language_strong/field_optimization3_test.dart
@@ -11,15 +11,22 @@ class A {
var b = 0;
foo() {
var c = b + 27;
- for (var i = 0; i < 1 ; i++) {
+ for (var i = 0; i < 1; i++) {
for (var j = 0; j < 1; j++) {
Expect.equals(50, c + 23);
}
}
return a > 0.2;
}
- setA(value) { a = value; }
- setB(value) { b = value; }
+
+ setA(value) {
+ a = value;
+ }
+
+ setB(value) {
+ b = value;
+ }
+
operator >(other) => other == 0.2;
}

Powered by Google App Engine
This is Rietveld 408576698