Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 30abc197e9b941bc80a038633409af23a1996dcb..e239c0aa02c9cf198dcaaf7e448841609ac241eb 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -115,7 +115,7 @@ test(function() { |
var o = {}; |
Object.preventExtensions(o); |
Object.defineProperty(o, "x", { value: 1 }); |
-}, "Cannot define property:x, object is not extensible.", TypeError); |
+}, "Cannot define property x, object is not extensible", TypeError); |
// kFirstArgumentNotRegExp |
test(function() { |
@@ -242,7 +242,7 @@ test(function() { |
var o = {}; |
Object.freeze(o); |
o.a = 1; |
-}, "Can't add property a, object is not extensible", TypeError); |
+}, "Cannot add property a, object is not extensible", TypeError); |
// kObjectSetterExpectingFunction |
test(function() { |