geforkt von Mirrors/Velocity
Remove bad test
Dieser Commit ist enthalten in:
Ursprung
2f0ee15051
Commit
6816c15385
@ -130,18 +130,6 @@ public class CommandManagerTests {
|
|||||||
assertTrue(manager.hasCommand("bar"));
|
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
|
@Test
|
||||||
void testBrigadierExecute() {
|
void testBrigadierExecute() {
|
||||||
VelocityCommandManager manager = createManager();
|
VelocityCommandManager manager = createManager();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren