From d9d0de046d67a24cd0ffb9942b7ef591fc290334 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Fri, 17 Jan 2014 14:54:27 -0600 Subject: [PATCH] Fix the tests failing. --- .../test/java/com/graywolf336/jail/TestJailCommandInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java b/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java index 34b358d..8076c5f 100644 --- a/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java +++ b/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java @@ -47,7 +47,7 @@ public class TestJailCommandInfo { CommandSender sender = creator.getCommandSender(); assertTrue(main.onCommand(sender, command, "thisisnotavalidcommand", args)); - verify(sender).sendMessage("No commands registered by the name of thisisnotavalidcommand."); + verify(sender).sendMessage(ChatColor.RED + "No commands registered by the name of thisisnotavalidcommand."); } @Test @@ -59,7 +59,7 @@ public class TestJailCommandInfo { CommandSender sender = creator.getCommandSender(); assertTrue(main.onCommand(sender, command, "jailcreate", args)); - verify(sender).sendMessage("A player context is required for this command."); + verify(sender).sendMessage(ChatColor.RED + "A player context is required for this."); } @Test