Fix the language test failing

This commit is contained in:
graywolf336 2015-05-27 12:30:12 -05:00
parent afa051b1b2
commit 107ac26573

View File

@ -81,7 +81,7 @@ public class TestJailLanguage {
assertEquals(colorize("&cNumber format is incorrect."), Lang.NUMBERFORMATINCORRECT.get()); assertEquals(colorize("&cNumber format is incorrect."), Lang.NUMBERFORMATINCORRECT.get());
assertEquals(colorize("&cA player context is required for this."), Lang.PLAYERCONTEXTREQUIRED.get()); assertEquals(colorize("&cA player context is required for this."), Lang.PLAYERCONTEXTREQUIRED.get());
assertEquals(colorize("&cThat player is not online!"), Lang.PLAYERNOTONLINE.get()); assertEquals(colorize("&cThat player is not online!"), Lang.PLAYERNOTONLINE.get());
assertEquals(colorize("&9Jail data successfully reloaded."), Lang.PLUGINRELOADED.get()); assertEquals(colorize("&9Jail configuration successfully reloaded."), Lang.PLUGINRELOADED.get());
assertEquals(colorize("&cAll the prisoners from cloud have been cleared."), Lang.PRISONERSCLEARED.get("cloud")); assertEquals(colorize("&cAll the prisoners from cloud have been cleared."), Lang.PRISONERSCLEARED.get("cloud"));
assertEquals(colorize("&7[MM/dd/yyyy HH:mm:ss]: &9graywolf336 &fjailed by &9console &ffor &960 &fminutes with a reason of &9doing terrible coding&f. [" + id.toString() + "]"), Lang.RECORDENTRY.get(new String[] { "MM/dd/yyyy HH:mm:ss", "graywolf336", "console", "60", "doing terrible coding", id.toString() })); assertEquals(colorize("&7[MM/dd/yyyy HH:mm:ss]: &9graywolf336 &fjailed by &9console &ffor &960 &fminutes with a reason of &9doing terrible coding&f. [" + id.toString() + "]"), Lang.RECORDENTRY.get(new String[] { "MM/dd/yyyy HH:mm:ss", "graywolf336", "console", "60", "doing terrible coding", id.toString() }));
assertEquals(colorize("&9transferring"), Lang.TRANSFERRING.get()); assertEquals(colorize("&9transferring"), Lang.TRANSFERRING.get());