Fix version command test

This commit is contained in:
Ben Woo 2024-10-12 13:50:45 +08:00
parent 18f4600ca4
commit 7def05e112

View File

@ -24,7 +24,7 @@ class VersionCommandTest : TestWithMockBukkit() {
val console = server.consoleSender;
assertTrue(Bukkit.dispatchCommand(console, "mv version"))
val output = ChatColor.stripColor(console.nextMessage())
assertEquals("Multiverse Core Version vlocal", output)
assertEquals("Multiverse Core Version v" + multiverseCore.getDescription().getVersion(), output)
}
@Test