Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index b8c3114d3685574d3236df28f46bc8bfdffb65c4..bb0d0e664a8343a25d23f17892b642b9160e4fa6 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -301,7 +301,7 @@ test(function() { |
test(function() { |
"use strict"; |
(1).a = 1; |
-}, "Cannot assign to read only property 'a' of 1", TypeError); |
+}, "Cannot create property 'a' on number '1'", TypeError); |
// kStrongImplicitCast |
test(function() { |