clean up command parsing
Some checks failed
/ test (push) Successful in 1m10s
/ deploy (push) Failing after 56s

This commit is contained in:
kento2 2026-08-30 12:10:14 +02:00
parent c22f707556
commit 2c3307e59e
10 changed files with 89 additions and 183 deletions

View file

@ -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