Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
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