mirror of
https://github.com/Noratrieb/GRSBPL.git
synced 2026-03-14 22:46:04 +01:00
fix
This commit is contained in:
parent
80e358e17f
commit
9c3d9a2dd9
2 changed files with 1 additions and 9 deletions
|
|
@ -363,4 +363,4 @@ public class Interpreter {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -103,14 +103,6 @@ class LexerTest {
|
||||||
List<String> expected = List.of("test", "ABC", "g9tgq", "fe_53f");
|
List<String> expected = List.of("test", "ABC", "g9tgq", "fe_53f");
|
||||||
assertEquals(expected, getValues(lex(program)));
|
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
|
@Test
|
||||||
void alternativeNumbers() {
|
void alternativeNumbers() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue