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

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

Issue 202333004: Move ParsePostfixExpression into ParserBase. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: activated a test Created 6 years, 9 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.cc ('k') | no next file » | 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 cb8802bd7d7e8c717e296052fd2fe67922adf31c..1f59f357e40a8ec4e1fc66c690b1bf57350056aa 100644
--- a/test/cctest/test-parsing.cc
+++ b/test/cctest/test-parsing.cc
@@ -2332,8 +2332,7 @@ TEST(ErrorsNewExpression) {
"new foo bar",
"new ) foo",
"new ++foo",
- // TODO(marja): Activate this test once the preparser checks correctly.
- // "new foo ++",
+ "new foo ++",
NULL
};
@@ -2528,7 +2527,7 @@ TEST(StrictDelete) {
}
-TEST(ErrorInvalidLeftHandSide) {
+TEST(InvalidLeftHandSide) {
const char* assignment_context_data[][2] = {
// {"", " = 1;"},
// {"\"use strict\"; ", " = 1;"},
@@ -2593,6 +2592,5 @@ TEST(ErrorInvalidLeftHandSide) {
RunParserSyncTest(prefix_context_data, bad_statement_data_common, kError);
RunParserSyncTest(postfix_context_data, good_statement_data, kSuccess);
- // TODO(marja): This doesn't work yet.
- // RunParserSyncTest(postfix_context_data, bad_statement_data_common, kError);
+ RunParserSyncTest(postfix_context_data, bad_statement_data_common, kError);
}
« no previous file with comments | « src/preparser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698