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

Unified Diff: tests/language/class_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/class_test.dart
diff --git a/tests/language/class_test.dart b/tests/language/class_test.dart
index 7a03fb1a4e39aaec617b642e12bb868a0e6065fb..0436393f6359edfcc4a0b37a38d86c6810435abc 100644
--- a/tests/language/class_test.dart
+++ b/tests/language/class_test.dart
@@ -18,7 +18,9 @@ class ClassTest {
test.testFactory();
test.testNamedConstructors();
test.testDefaultImplementation();
- test.testFunctionParameter((int a) { return a;});
+ test.testFunctionParameter((int a) {
+ return a;
+ });
}
testFunctionParameter(int func(int a)) {
@@ -44,7 +46,7 @@ class ClassTest {
}
testInheritedField() {
- var sub = new Sub();
+ var sub = new Sub();
Expect.equals(42, sub.method6());
}
@@ -158,7 +160,10 @@ class Sub extends Sup {
}
int closureRef() {
- var f = () {y_ += 1; return y_;};
+ var f = () {
+ y_ += 1;
+ return y_;
+ };
return f();
}

Powered by Google App Engine
This is Rietveld 408576698