| Index: test/mjsunit/harmony/private.js
|
| diff --git a/test/mjsunit/harmony/private.js b/test/mjsunit/harmony/private.js
|
| index 3d95d54626921c548615c7c69b16facdd263b683..4b29fd863ed385e35533365646f6bd08d6608e84 100644
|
| --- a/test/mjsunit/harmony/private.js
|
| +++ b/test/mjsunit/harmony/private.js
|
| @@ -114,8 +114,8 @@ TestToBoolean()
|
|
|
| function TestToNumber() {
|
| for (var i in symbols) {
|
| - assertSame(NaN, Number(symbols[i]).valueOf())
|
| - assertSame(NaN, symbols[i] + 0)
|
| + assertThrows(function() { Number(symbols[i]); }, TypeError);
|
| + assertThrows(function() { symbols[i] + 0; }, TypeError);
|
| }
|
| }
|
| TestToNumber()
|
|
|