Clean up annotation parsing.
This commit is contained in:
parent
e72a876037
commit
56623160e1
10 changed files with 480 additions and 184 deletions
|
|
@ -55,7 +55,7 @@ class AnnotationParserTest {
|
|||
final Collection<Command<TestCommandSender>> commands = annotationParser.parse(this);
|
||||
Assertions.assertFalse(commands.isEmpty());
|
||||
manager.executeCommand(new TestCommandSender(), "test 10").join();
|
||||
manager.executeCommand(new TestCommandSender(), "t 10").join();
|
||||
manager.executeCommand(new TestCommandSender(), "t 10 o").join();
|
||||
Assertions.assertThrows(CompletionException.class, () ->
|
||||
manager.executeCommand(new TestCommandSender(), "test 101").join());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue