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,,) {}"); |