Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index bb0d0e664a8343a25d23f17892b642b9160e4fa6..cb1d016ab09c17383e206f5f4847dd9bcf06e6f8 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -332,8 +332,8 @@ test(function() { |
// kValueAndAccessor |
test(function() { |
Object.defineProperty({}, "x", { get: function(){}, value: 1}); |
-}, "Invalid property. A property cannot both have accessors and be " + |
- "writable or have a value, #<Object>", TypeError); |
+}, "Invalid property descriptor. Cannot both specify accessors " + |
+ "and a value or writable attribute, #<Object>", TypeError); |
// kWithExpression |
test(function() { |