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

Unified Diff: test/mjsunit/extra-commas.js

Issue 2638513002: Enable --harmony-trailing-commas (Closed)
Patch Set: put the harmony flag back into the harmony test Created 3 years, 11 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 | « test/message/formal-parameters-trailing-comma.out ('k') | test/mjsunit/regress/regress-2470.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/extra-commas.js
diff --git a/test/mjsunit/extra-commas.js b/test/mjsunit/extra-commas.js
index 6fed04c0de08640bd016f63a68d5a96034cf7a1a..02d25df4ed2df395be905a453921943a2e0afdd0 100644
--- a/test/mjsunit/extra-commas.js
+++ b/test/mjsunit/extra-commas.js
@@ -38,9 +38,9 @@ function assertSyntaxError(x) {
assertSyntaxError("f(,)");
-assertSyntaxError("f(1,)");
-assertSyntaxError("f(1,2,)");
+assertSyntaxError("f(1,,)");
+assertSyntaxError("f(1,2,,)");
assertSyntaxError("function f(,) {}");
-assertSyntaxError("function f(1,) {}");
-assertSyntaxError("function f(1,2,) {}");
+assertSyntaxError("function f(1,,) {}");
+assertSyntaxError("function f(1,2,,) {}");
« no previous file with comments | « test/message/formal-parameters-trailing-comma.out ('k') | test/mjsunit/regress/regress-2470.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698