13
0
geforkt von Mirrors/Velocity

Remove bad test

Dieser Commit ist enthalten in:
Andrew Steinborn 2021-05-23 13:47:20 -04:00
Ursprung 2f0ee15051
Commit 6816c15385

Datei anzeigen

@ -130,18 +130,6 @@ public class CommandManagerTests {
assertTrue(manager.hasCommand("bar"));
}
@Test
void testAlreadyRegisteredThrows() {
VelocityCommandManager manager = createManager();
manager.register("BAR", new NoopSimpleCommand());
assertThrows(IllegalArgumentException.class, () -> {
CommandMeta meta = manager.metaBuilder("baz")
.aliases("BAr")
.build();
manager.register(meta, new NoopRawCommand());
});
}
@Test
void testBrigadierExecute() {
VelocityCommandManager manager = createManager();