| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| index dd0a0b2e6be65c389409d099c917901488a9052c..2de75ea2abde521cfd56f8bfdfbf12d50cdb70be 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| @@ -16,6 +16,7 @@ package com.google.dart.engine.parser;
|
| import com.google.dart.engine.ast.CompilationUnit;
|
| import com.google.dart.engine.ast.Expression;
|
| import com.google.dart.engine.ast.FunctionExpression;
|
| +import com.google.dart.engine.ast.ListLiteral;
|
| import com.google.dart.engine.ast.MapLiteral;
|
| import com.google.dart.engine.ast.SimpleIdentifier;
|
| import com.google.dart.engine.ast.StringLiteral;
|
| @@ -455,6 +456,14 @@ public class ErrorParserTest extends ParserTestCase {
|
| parse("parseStringLiteral", "'$x$'", ParserErrorCode.MISSING_IDENTIFIER);
|
| }
|
|
|
| + public void test_expectedOneListTypeArguments_two() throws Exception {
|
| + Expression expression = parse(
|
| + "parsePrimaryExpression",
|
| + "<int, int>[]",
|
| + ParserErrorCode.EXPECTED_ONE_LIST_TYPE_ARGUMENTS);
|
| + assertInstanceOf(ListLiteral.class, expression);
|
| + }
|
| +
|
| public void test_expectedStringLiteral() throws Exception {
|
| StringLiteral expression = parse(
|
| "parseStringLiteral",
|
|
|