This commit is contained in:
nora 2021-05-31 16:48:39 +02:00
parent 80e358e17f
commit 9c3d9a2dd9
2 changed files with 1 additions and 9 deletions

View file

@ -363,4 +363,4 @@ public class Interpreter {
this.name = name;
}
}
}
}

View file

@ -103,14 +103,6 @@ class LexerTest {
List<String> expected = List.of("test", "ABC", "g9tgq", "fe_53f");
assertEquals(expected, getValues(lex(program)));
}
@Test
void alternativeNumbers() {
String withHex = "0xFFF 0xa4 0x10 1_000";
List<Integer> expected = List.of(0xFFF, 0xA4, 0x10, 1000);
assertEquals(expected, getValues(lex(withHex)));
}
@Test
void alternativeNumbers() {