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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java

Issue 15260002: Report ParserErrorCode.MISSING_IDENTIFIER (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments Created 7 years, 7 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
Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java
index 73b7b83753a5f2b7c7ad323abbc8271da6289d57..180abe0028c309e13bf91b81e4c6f13ccfce0842 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/SimpleParserTest.java
@@ -3601,7 +3601,7 @@ public class SimpleParserTest extends ParserTestCase {
}
public void test_parsePrimaryExpression_parenthesized() throws Exception {
- ParenthesizedExpression expression = parse("parsePrimaryExpression", "()");
+ ParenthesizedExpression expression = parse("parsePrimaryExpression", "(x)");
assertNotNull(expression);
}

Powered by Google App Engine
This is Rietveld 408576698