clean up command parsing
This commit is contained in:
parent
c22f707556
commit
2c3307e59e
10 changed files with 89 additions and 183 deletions
|
|
@ -93,7 +93,7 @@ class CommandHandlerTest {
|
|||
@Test
|
||||
void testFailOnBadLiteral() {
|
||||
commandHandler.invoke(rootLiteral, new CommandContextImpl(), Stream.of("BAD_LITERAL"));
|
||||
assertEquals("Unknown literal \"BAD_LITERAL\".\n", outContent.toString(StandardCharsets.UTF_8));
|
||||
assertEquals("Unknown literal.\n", outContent.toString(StandardCharsets.UTF_8));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue