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(); |
} |