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

Unified Diff: tests/language/param2_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/param2_test.dart
diff --git a/tests/language/param2_test.dart b/tests/language/param2_test.dart
index 375a2c528f381838542018692012cd85e1048a5f..5df77e702d8f8a95960ce9f4ff7409d39b55dc89 100644
--- a/tests/language/param2_test.dart
+++ b/tests/language/param2_test.dart
@@ -5,9 +5,7 @@
import "package:expect/expect.dart";
-
class Param2Test {
-
static forEach(List<int> a, int f(k)) {
for (int i = 0; i < a.length; i++) {
a[i] = f(a[i]);
@@ -30,6 +28,7 @@ class Param2Test {
int square(int x) {
return x * x;
}
+
Expect.equals(4, apply(square, 2));
Expect.equals(100, apply(square, 10));
@@ -59,7 +58,6 @@ class Param2Test {
}
}
-
main() {
Param2Test.testMain();
}

Powered by Google App Engine
This is Rietveld 408576698