summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/jsnatives.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/jsnatives.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/jsnatives.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/compiler/jsnatives.js b/deps/v8/test/mjsunit/compiler/jsnatives.js
index ea2ecd2d30..ab70abc1bb 100644
--- a/deps/v8/test/mjsunit/compiler/jsnatives.js
+++ b/deps/v8/test/mjsunit/compiler/jsnatives.js
@@ -29,5 +29,5 @@
// Test call of JS runtime functions.
-var a = %$isNaN(0/0);
-assertEquals(true, a);
+var a = %MakeError(0, "error");
+assertInstanceof(a, Error);