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

Unified Diff: tests/language/local_function2_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/local_function2_test.dart
diff --git a/tests/language/local_function2_test.dart b/tests/language/local_function2_test.dart
index 1ccf9c19caf78ab4f500baba69b641b34842cf5b..cbcade50d7a89020fd3f7f0f4f6746e4b88016ed 100644
--- a/tests/language/local_function2_test.dart
+++ b/tests/language/local_function2_test.dart
@@ -8,10 +8,15 @@ import "package:expect/expect.dart";
typedef T F<T>(T t);
class Parameterized<T> {
- Parameterized() { }
- T mul3(F f, T t) { return 3*f(t); }
+ Parameterized() {}
+ T mul3(F f, T t) {
+ return 3 * f(t);
+ }
+
T test(T t) {
- return mul3((T t) { return 3*t; }, t);
+ return mul3((T t) {
+ return 3 * t;
+ }, t);
}
}
@@ -23,7 +28,7 @@ class LocalFunction2Test {
return a;
};
var h = (int n) {
- a += 10*n;
+ a += 10 * n;
return a;
};
return g(n) + h(n);

Powered by Google App Engine
This is Rietveld 408576698