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.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/compiler/jsnatives.js b/deps/v8/test/mjsunit/compiler/jsnatives.js
index ab70abc1bb..74d88ba3a6 100644
--- a/deps/v8/test/mjsunit/compiler/jsnatives.js
+++ b/deps/v8/test/mjsunit/compiler/jsnatives.js
@@ -29,5 +29,4 @@
// Test call of JS runtime functions.
-var a = %MakeError(0, "error");
-assertInstanceof(a, Error);
+assertEquals(1, %to_number_fun("1"));