Chromium Code Reviews| Index: test/mjsunit/object-create.js |
| diff --git a/test/mjsunit/object-create.js b/test/mjsunit/object-create.js |
| index d8385842a384fd614f374638c290fdbe59a1d3d4..dd77974d271d45dc48c46ea868d2c08faace8687 100644 |
| --- a/test/mjsunit/object-create.js |
| +++ b/test/mjsunit/object-create.js |
| @@ -63,8 +63,8 @@ var fooSetter = { foo: { set: function() { return ctr4++; }}}; |
| var fooAmbiguous = { foo: { get: function() { return ctr3++; }, |
| value: 3 }}; |
| -function valueGet() { ctr5++; return 3 }; |
| -function getterGet() { ctr5++; return function() { return ctr6++; }; }; |
| +function valueGet() { ctr5++; return 3; } |
|
Rico
2011/12/08 10:24:37
individual lines for body
|
| +function getterGet() { ctr5++; return function() { return ctr6++; }; } |
|
Rico
2011/12/08 10:24:37
individual lines for body
|
| // Simple object with prototype, no properties added. |
| Object.create(protoFoo).foo(); |
| @@ -177,7 +177,7 @@ var magicWritableProps = { |
| return false; |
| }}})}; |
| -var fooNotWritable = Object.create(null, magicWritableProps) |
| +var fooNotWritable = Object.create(null, magicWritableProps); |
| assertEquals(1002, ctr6); |
| assertEquals(4, fooNotWritable.foo); |
| fooNotWritable.foo = 5; |