| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ComplexParserTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ComplexParserTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ComplexParserTest.java
|
| index 5103fe4f3fdfcd55d3ff79f199cc994272da1f45..d30d5dc6ce87aedc46f323d679972bcd8db7141a 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ComplexParserTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ComplexParserTest.java
|
| @@ -221,7 +221,9 @@ public class ComplexParserTest extends ParserTestCase {
|
| }
|
|
|
| public void test_equalityExpression_normal() throws Exception {
|
| - BinaryExpression expression = parseExpression("x == y != z");
|
| + BinaryExpression expression = parseExpression(
|
| + "x == y != z",
|
| + ParserErrorCode.EQUALITY_CANNOT_BE_EQUALITY_OPERAND);
|
| assertInstanceOf(BinaryExpression.class, expression.getLeftOperand());
|
| }
|
|
|
| @@ -236,7 +238,9 @@ public class ComplexParserTest extends ParserTestCase {
|
| }
|
|
|
| public void test_equalityExpression_super() throws Exception {
|
| - BinaryExpression expression = parseExpression("super == y != z");
|
| + BinaryExpression expression = parseExpression(
|
| + "super == y != z",
|
| + ParserErrorCode.EQUALITY_CANNOT_BE_EQUALITY_OPERAND);
|
| assertInstanceOf(BinaryExpression.class, expression.getLeftOperand());
|
| }
|
|
|
|
|