Index: test/mjsunit/function-call.js |
diff --git a/test/mjsunit/function-call.js b/test/mjsunit/function-call.js |
index 92792ac8273d8a82f15eecd48952efc08af5a052..797eef04a6ae6860c11a267c1138d539f6f28861 100644 |
--- a/test/mjsunit/function-call.js |
+++ b/test/mjsunit/function-call.js |
@@ -151,7 +151,7 @@ var reducing_functions = |
function checkExpectedMessage(e) { |
assertTrue(e.message.indexOf("called on null or undefined") >= 0 || |
- e.message.indexOf("Cannot convert null to object") >= 0); |
+ e.message.indexOf("Cannot convert undefined or null to object") >= 0); |
} |
// Test that all natives using the ToObject call throw the right exception. |