Merge pull request #3116 from Multiverse/ben/mv5/fix-version-test

Fix version command test
This commit is contained in:
Ben Woo 2024-10-12 13:56:45 +08:00 committed by GitHub
commit 5a9b9771bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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