From 7def05e112cafec74f62b801cf89fd43fc7db08c Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Sat, 12 Oct 2024 13:50:45 +0800 Subject: [PATCH] Fix version command test --- .../mvplugins/multiverse/core/commands/VersionCommandTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/mvplugins/multiverse/core/commands/VersionCommandTest.kt b/src/test/java/org/mvplugins/multiverse/core/commands/VersionCommandTest.kt index 293607ab..1a0fd939 100644 --- a/src/test/java/org/mvplugins/multiverse/core/commands/VersionCommandTest.kt +++ b/src/test/java/org/mvplugins/multiverse/core/commands/VersionCommandTest.kt @@ -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