Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 858354dc836e3b087004b8cedefe28fa783a3fb3..857089ea0662ca374051c07ae000c8da59a04a77 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -2240,10 +2240,12 @@ TEST(ErrorsNewExpression) { |
TEST(StrictObjectLiteralChecking) { |
const char* strict_context_data[][2] = { |
{"\"use strict\"; var myobject = {", "};"}, |
+ {"\"use strict\"; var myobject = {", ",};"}, |
{ NULL, NULL } |
}; |
const char* non_strict_context_data[][2] = { |
{"var myobject = {", "};"}, |
+ {"var myobject = {", ",};"}, |
{ NULL, NULL } |
}; |
@@ -2272,6 +2274,7 @@ TEST(ErrorsObjectLiteralChecking) { |
}; |
const char* statement_data[] = { |
+ ",", |
"foo: 1, get foo() {}", |
"foo: 1, set foo(v) {}", |
"\"foo\": 1, get \"foo\"() {}", |
@@ -2307,7 +2310,9 @@ TEST(ErrorsObjectLiteralChecking) { |
TEST(NoErrorsObjectLiteralChecking) { |
const char* context_data[][2] = { |
{"var myobject = {", "};"}, |
+ {"var myobject = {", ",};"}, |
{"\"use strict\"; var myobject = {", "};"}, |
+ {"\"use strict\"; var myobject = {", ",};"}, |
{ NULL, NULL } |
}; |