Index: tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
index 2f582934a43270a96049f6b4a1b3aaad63985e04..e976da4069e0d8da241f10170f09cc5ea2bea5cf 100644 |
--- a/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
+++ b/tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart |
@@ -86,10 +86,8 @@ main() { |
r""" |
function() { |
var a = null, i = 0; |
- while (i < 10) { |
- a = new V.main_closure(i); |
- i = i + 1; |
- } |
+ for (; i < 10; a = new V.main_closure(i), i = i + 1) |
+ ; |
P.print(a.call$0()); |
}"""), |