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

Unified Diff: tests/language/super_assign_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/super_assign_test.dart
diff --git a/tests/language/super_assign_test.dart b/tests/language/super_assign_test.dart
index 39a42d2135b39911663424164abbad7b6bde4338..562c43c4c8e1d6a4aa3412a7ef36b32d989a7bc6 100644
--- a/tests/language/super_assign_test.dart
+++ b/tests/language/super_assign_test.dart
@@ -9,12 +9,14 @@ class A {
}
class C extends A {
- void setX(int value) { super.x = value; }
+ void setX(int value) {
+ super.x = value;
+ }
}
main() {
- A a = new C();
- a.x = 37;
- a.setX(42);
- Expect.equals(42, a.x);
+ A a = new C();
+ a.x = 37;
+ a.setX(42);
+ Expect.equals(42, a.x);
}

Powered by Google App Engine
This is Rietveld 408576698