Index: test/mjsunit/compiler/jsnatives.js |
diff --git a/test/mjsunit/compiler/jsnatives.js b/test/mjsunit/compiler/jsnatives.js |
index ab70abc1bbf46ca901e1ce8f30db0c23487b1e3e..ea2ecd2d300e1638dbe909371f6444cb2bec47ee 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 = %MakeError(0, "error"); |
-assertInstanceof(a, Error); |
+var a = %$isNaN(0/0); |
+assertEquals(true, a); |