Polishing

This commit is contained in:
Sam Brannen
2024-01-28 16:40:06 +01:00
parent 97ad479250
commit ab98210e6d
2 changed files with 29 additions and 22 deletions

View File

@@ -371,25 +371,21 @@ class ParsingTests {
@Test
void mathOperatorIncrementPrefix() {
parseCheck("++7", "++7");
parseCheck("++foo", "++foo");
}
@Test
void mathOperatorIncrementPostfix() {
parseCheck("7++", "7++");
parseCheck("foo++", "foo++");
}
@Test
void mathOperatorDecrementPrefix() {
parseCheck("--7", "--7");
parseCheck("--foo", "--foo");
}
@Test
void mathOperatorDecrementPostfix() {
parseCheck("7--", "7--");
parseCheck("foo--", "foo--");
}