diff --git a/src/test/java/de/platon42/intellij/plugins/m68k/parser/ExpressionsTest.kt b/src/test/java/de/platon42/intellij/plugins/m68k/parser/ExpressionsTest.kt index e37993c..e046434 100644 --- a/src/test/java/de/platon42/intellij/plugins/m68k/parser/ExpressionsTest.kt +++ b/src/test/java/de/platon42/intellij/plugins/m68k/parser/ExpressionsTest.kt @@ -40,7 +40,7 @@ internal class ExpressionsTest : AbstractParsingTest() { @Test internal fun comparing_expressions(@MyTestCase testCase: ParsingTestExtension.IParsingTestCase) { - testGoodSyntax(testCase, "FOO = ((WIDTH<20)&&(HEIGHT<=10))||((WIDTH>=40)&&(HEIGHT>=128))&&(WIDTH!=0)&&(HEIGHT<>0)=1\n") + testGoodSyntax(testCase, "FOO = ((WIDTH<20)&&(HEIGHT<=10))||((WIDTH>=40)&&(HEIGHT>128))&&(WIDTH!=0)&&(HEIGHT<>0)=1\n") } @Test diff --git a/src/test/resources/parser/expressions/comparing_expressions.txt b/src/test/resources/parser/expressions/comparing_expressions.txt index 20c76d9..fd3b30a 100644 --- a/src/test/resources/parser/expressions/comparing_expressions.txt +++ b/src/test/resources/parser/expressions/comparing_expressions.txt @@ -51,11 +51,11 @@ Assembly File: a.asm PsiElement(M68kTokenType.OP_LOGICAL_AND)('&&') M68kParenExprImpl(PAREN_EXPR) PsiElement(M68kTokenType.ROUND_L)('(') - M68kBinaryCmpGeExprImpl(BINARY_CMP_GE_EXPR) + M68kBinaryCmpGtExprImpl(BINARY_CMP_GT_EXPR) M68kRefExprImpl(REF_EXPR) M68kSymbolReferenceImpl(SYMBOL_REFERENCE) PsiElement(M68kTokenType.SYMBOL)('HEIGHT') - PsiElement(M68kTokenType.OP_CMP_GT_EQ)('>=') + PsiElement(M68kTokenType.OP_CMP_GT)('>') M68kLiteralExprImpl(LITERAL_EXPR) PsiElement(M68kTokenType.DECIMAL)('128') PsiElement(M68kTokenType.ROUND_R)(')')