Index: test/mjsunit/arguments-apply.js |
diff --git a/test/mjsunit/arguments-apply.js b/test/mjsunit/arguments-apply.js |
index 5a9122859ba3c9936303fe0f219cf5c5fdd615be..48c42349639ab3b489350d69607e40684e4d534d 100644 |
--- a/test/mjsunit/arguments-apply.js |
+++ b/test/mjsunit/arguments-apply.js |
@@ -73,11 +73,11 @@ function NonObjectReceiver(receiver) { |
return ReturnReceiver.apply(receiver, arguments); |
} |
-assertEquals(42, NonObjectReceiver(42)); |
+assertEquals(Object(42), NonObjectReceiver(42)); |
assertEquals("object", typeof NonObjectReceiver(42)); |
-assertTrue(NonObjectReceiver(42) instanceof Number); |
-assertTrue(this === NonObjectReceiver(null)); |
-assertTrue(this === NonObjectReceiver(void 0)); |
+assertInstanceof(NonObjectReceiver(42), Number); |
+assertSame(this, NonObjectReceiver(null)); |
+assertSame(this, NonObjectReceiver(void 0)); |
function FunctionReceiver() { |