Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1330)

Unified Diff: test/cctest/test-parsing.cc

Issue 1328083002: [es6] support `get` and `set` in shorthand properties (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/preparser.h ('k') | test/mjsunit/es6/object-literals-property-shorthand.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-parsing.cc
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc
index 287969d30898c84673b8bd5b054c19abe91c10c4..19b4619550d0b9f0fffe52c77e5a1a15b1176518 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -6541,6 +6541,8 @@ TEST(DestructuringPositiveTests) {
"a",
"{ x : y }",
"{ x : y = 1 }",
+ "{ get, set }",
+ "{ get = 1, set = 2 }",
"[a]",
"[a = 1]",
"[a,b,c]",
« no previous file with comments | « src/preparser.h ('k') | test/mjsunit/es6/object-literals-property-shorthand.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698