Index: tests/language_strong/closure_variable_shadow_test.dart |
diff --git a/tests/language_strong/closure_variable_shadow_test.dart b/tests/language_strong/closure_variable_shadow_test.dart |
index 8f774b403491f7a3ff2c1cb67492ca646d269f0d..4b1edb477b4e4fb26f72850ce43bbcb30362fbfe 100644 |
--- a/tests/language_strong/closure_variable_shadow_test.dart |
+++ b/tests/language_strong/closure_variable_shadow_test.dart |
@@ -4,17 +4,18 @@ |
import "package:expect/expect.dart"; |
-// The intermediate variable 'y' must either be preserved |
+// The intermediate variable 'y' must either be preserved |
// or parameters must be renamed. |
foo(x) { |
- var y = x; |
- bar(x) { |
- return y - x; |
- } |
- return bar; |
+ var y = x; |
+ bar(x) { |
+ return y - x; |
+ } |
+ |
+ return bar; |
} |
main() { |
- Expect.equals(-10, foo(10)(20)); |
+ Expect.equals(-10, foo(10)(20)); |
} |