Support prefix notation for SpEL increment/decrement in AST representation

Closes gh-32144
This commit is contained in:
Sam Brannen
2024-01-28 15:20:57 +01:00
parent 179b976964
commit e34ad6bf5f
3 changed files with 12 additions and 9 deletions

View File

@@ -16,7 +16,6 @@
package org.springframework.expression.spel;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
@@ -370,7 +369,6 @@ class ParsingTests {
parseCheck("7 % 4", "(7 % 4)");
}
@Disabled("Disabled due to a bug in OpInc.toStringAST()")
@Test
void mathOperatorIncrementPrefix() {
parseCheck("++7", "++7");
@@ -383,7 +381,6 @@ class ParsingTests {
parseCheck("foo++", "foo++");
}
@Disabled("Disabled due to a bug in OpDec.toStringAST()")
@Test
void mathOperatorDecrementPrefix() {
parseCheck("--7", "--7");