Index: test/mjsunit/es6/object-literals-property-shorthand.js |
diff --git a/test/mjsunit/es6/object-literals-property-shorthand.js b/test/mjsunit/es6/object-literals-property-shorthand.js |
index 29ce66d270839e861751b7f0205ef74712bc58f5..f0ddd68d42aad0bc3edaed5177edf98fb519d0e1 100644 |
--- a/test/mjsunit/es6/object-literals-property-shorthand.js |
+++ b/test/mjsunit/es6/object-literals-property-shorthand.js |
@@ -10,6 +10,14 @@ |
})(); |
+(function TestBasicsGetSet() { |
+ var get = 1, set = 2; |
+ var object = {get, set}; |
+ assertEquals(1, object.get); |
+ assertEquals(2, object.set); |
+})(); |
+ |
+ |
(function TestDescriptor() { |
var x = 1; |
var object = {x}; |