Index: tests/compiler/dart2js_extra/closure_test.dart |
diff --git a/tests/compiler/dart2js_extra/closure_test.dart b/tests/compiler/dart2js_extra/closure_test.dart |
index b0bdeec5f64c2de36ccf796f2b60b332ae4a5ef9..5ad42476c7dfa2c1e079bfb8af9deab7ccde56f1 100644 |
--- a/tests/compiler/dart2js_extra/closure_test.dart |
+++ b/tests/compiler/dart2js_extra/closure_test.dart |
@@ -5,13 +5,17 @@ |
import "package:expect/expect.dart"; |
closure0() { |
- var f = () { return 499; }; |
+ var f = () { |
+ return 499; |
+ }; |
Expect.equals(499, f()); |
} |
class A { |
closure1() { |
- var f = () { return 499; }; |
+ var f = () { |
+ return 499; |
+ }; |
Expect.equals(499, f()); |
} |
} |
@@ -21,11 +25,15 @@ applyFun(f) { |
} |
closure2() { |
- Expect.equals(499, applyFun(() { return 499; })); |
+ Expect.equals(499, applyFun(() { |
+ return 499; |
+ })); |
} |
closure3() { |
- var f = (x) { return 400 + x; }; |
+ var f = (x) { |
+ return 400 + x; |
+ }; |
Expect.equals(499, f(99)); |
} |
@@ -34,7 +42,9 @@ applyFun2(f) { |
} |
closure4() { |
- Expect.equals(499, applyFun2((x, y) { return x + y; })); |
+ Expect.equals(499, applyFun2((x, y) { |
+ return x + y; |
+ })); |
} |
main() { |