Minor fix for ExpressionsTest.

This commit is contained in:
Chris Hodges 2021-07-26 20:02:20 +02:00
parent 5ffffb5680
commit 9553da6a1c
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ internal class ExpressionsTest : AbstractParsingTest() {
@Test @Test
internal fun comparing_expressions(@MyTestCase testCase: ParsingTestExtension.IParsingTestCase) { 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 @Test

View File

@ -51,11 +51,11 @@ Assembly File: a.asm
PsiElement(M68kTokenType.OP_LOGICAL_AND)('&&') PsiElement(M68kTokenType.OP_LOGICAL_AND)('&&')
M68kParenExprImpl(PAREN_EXPR) M68kParenExprImpl(PAREN_EXPR)
PsiElement(M68kTokenType.ROUND_L)('(') PsiElement(M68kTokenType.ROUND_L)('(')
M68kBinaryCmpGeExprImpl(BINARY_CMP_GE_EXPR) M68kBinaryCmpGtExprImpl(BINARY_CMP_GT_EXPR)
M68kRefExprImpl(REF_EXPR) M68kRefExprImpl(REF_EXPR)
M68kSymbolReferenceImpl(SYMBOL_REFERENCE) M68kSymbolReferenceImpl(SYMBOL_REFERENCE)
PsiElement(M68kTokenType.SYMBOL)('HEIGHT') PsiElement(M68kTokenType.SYMBOL)('HEIGHT')
PsiElement(M68kTokenType.OP_CMP_GT_EQ)('>=') PsiElement(M68kTokenType.OP_CMP_GT)('>')
M68kLiteralExprImpl(LITERAL_EXPR) M68kLiteralExprImpl(LITERAL_EXPR)
PsiElement(M68kTokenType.DECIMAL)('128') PsiElement(M68kTokenType.DECIMAL)('128')
PsiElement(M68kTokenType.ROUND_R)(')') PsiElement(M68kTokenType.ROUND_R)(')')