Index: test/mjsunit/compiler/jsnatives.js |
diff --git a/test/mjsunit/compiler/jsnatives.js b/test/mjsunit/compiler/jsnatives.js |
index ea2ecd2d300e1638dbe909371f6444cb2bec47ee..ab70abc1bbf46ca901e1ce8f30db0c23487b1e3e 100644 |
--- a/test/mjsunit/compiler/jsnatives.js |
+++ b/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); |