Chromium Code Reviews| Index: tests/compiler/dart2js/class_codegen_test.dart |
| diff --git a/tests/compiler/dart2js/class_codegen_test.dart b/tests/compiler/dart2js/class_codegen_test.dart |
| index 09c45eb6de58c71ea993ce2f61c816baf410f10c..dae160e698a0a8cfa753a0014d0a259356c86f94 100644 |
| --- a/tests/compiler/dart2js/class_codegen_test.dart |
| +++ b/tests/compiler/dart2js/class_codegen_test.dart |
| @@ -53,8 +53,8 @@ main() { |
| const String TEST_FIVE = r""" |
| class A { |
| - var x; |
| - A(x) : this.x = x {} |
| + var a; |
| + A(a) : this.a = a {} |
|
ngeoffray
2012/10/15 14:20:01
Why this change? (and the ones in the other tests?
|
| } |
| main() { |
| @@ -90,7 +90,7 @@ $.B = {"": |
| constructor1() { |
| String generated = compileAll(TEST_FIVE); |
| - Expect.isTrue(generated.contains(r"new $.A(x);")); |
| + Expect.isTrue(generated.contains(r"new $.A(a);")); |
| } |
| main() { |