summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/arguments-apply.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/arguments-apply.js')
-rw-r--r--deps/v8/test/mjsunit/arguments-apply.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/mjsunit/arguments-apply.js b/deps/v8/test/mjsunit/arguments-apply.js
index 5a9122859b..48c4234963 100644
--- a/deps/v8/test/mjsunit/arguments-apply.js
+++ b/deps/v8/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() {