Chromium Code Reviews| Index: test/mjsunit/regress/regress-931.js |
| diff --git a/test/mjsunit/regress/regress-931.js b/test/mjsunit/regress/regress-931.js |
| index d2fb8cc2b79e7815f21320b7e259b37a0b09c3c7..248348414e32637cf15b28d652ec6ba1a31d9572 100644 |
| --- a/test/mjsunit/regress/regress-931.js |
| +++ b/test/mjsunit/regress/regress-931.js |
| @@ -30,19 +30,19 @@ |
| var sequence = ''; |
| var o = { f: function (x, y) { return x + y; }, |
| - 2: function (x, y) { return x - y} }; |
| + 2: function (x, y) { return x - y;} }; |
|
Rico
2011/12/08 10:24:37
space after ;
|
| function first() { sequence += "1"; return o; } |
| function second() { sequence += "2"; return "f"; } |
| function third() { sequence += "3"; return 3; } |
| function fourth() { sequence += "4"; return 4; } |
| -var result = (first()[second()](third(), fourth())) |
| +var result = (first()[second()](third(), fourth())); |
| assertEquals(7, result); |
| assertEquals("1234", sequence); |
| function second_prime() { sequence += "2'"; return 2; } |
| -var result = (first()[second_prime()](third(), fourth())) |
| +var result = (first()[second_prime()](third(), fourth())); |
| assertEquals(-1, result); |
| assertEquals("123412'34", sequence); |