| 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 ce589f391eb710717dbec5a02146fa94e09f3e4a..6d62cab22780215bd01ac81b32731f8a4f4318f4 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
|
| @@ -763,6 +763,22 @@ public class ErrorParserTest extends ParserTestCase {
|
| parseExpression("x.y = y;");
|
| }
|
|
|
| + public void test_missingAssignableSelector_postfix_minusMinus_literal() throws Exception {
|
| + parseExpression("0--", ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| + }
|
| +
|
| + public void test_missingAssignableSelector_postfix_plusPlus_literal() throws Exception {
|
| + parseExpression("0++", ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| + }
|
| +
|
| + public void test_missingAssignableSelector_prefix_minusMinus_literal() throws Exception {
|
| + parseExpression("--0", ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| + }
|
| +
|
| + public void test_missingAssignableSelector_prefix_plusPlus_literal() throws Exception {
|
| + parseExpression("++0", ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| + }
|
| +
|
| public void test_missingAssignableSelector_primarySelectorPostfix() throws Exception {
|
| parseExpression("x(y)(z)++", ParserErrorCode.MISSING_ASSIGNABLE_SELECTOR);
|
| }
|
|
|