Index: tests/compiler/dart2js_extra/closure_capture2_test.dart |
diff --git a/tests/compiler/dart2js_extra/closure_capture2_test.dart b/tests/compiler/dart2js_extra/closure_capture2_test.dart |
index b49bf983e5d938193b846300bf9921c89f8e3dec..4d22b1084674ad98c374baaba96ac8c10950aa71 100644 |
--- a/tests/compiler/dart2js_extra/closure_capture2_test.dart |
+++ b/tests/compiler/dart2js_extra/closure_capture2_test.dart |
@@ -11,12 +11,16 @@ closure0() { |
var g; |
{ |
var x = 499; |
- f = () { return x; }; |
+ f = () { |
+ return x; |
+ }; |
x++; |
} |
{ |
var x = 42; |
- g = () { return x; }; |
+ g = () { |
+ return x; |
+ }; |
x++; |
} |
Expect.equals(500, f()); |
@@ -27,7 +31,9 @@ closure1() { |
// f captures variable $0 which once could yield to troubles with HForeign if |
// we did not mangle correctly. |
var $1 = 499; |
- var f = () { return $1; }; |
+ var f = () { |
+ return $1; |
+ }; |
$1++; |
Expect.equals(500, f()); |
} |