From a4618fa3c0309f6a5e8e738d38aae7f99d61585f Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Mon, 19 Sep 2011 09:08:10 +0200 Subject: [PATCH] It just a test case but meh... --- .../sk89q/minecraft/util/commands/CommandContextTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/com/sk89q/minecraft/util/commands/CommandContextTest.java b/src/test/java/com/sk89q/minecraft/util/commands/CommandContextTest.java index 4b62c365b..e20e34126 100644 --- a/src/test/java/com/sk89q/minecraft/util/commands/CommandContextTest.java +++ b/src/test/java/com/sk89q/minecraft/util/commands/CommandContextTest.java @@ -28,7 +28,7 @@ import java.util.Arrays; import java.util.HashSet; public class CommandContextTest { - final String firstCmdString = "herpderp -opw testers \"mani world\" 'another thing' because something"; + private static final String firstCmdString = "herpderp -opw testers \"mani world\" 'another thing' because something"; CommandContext firstCommand; @Before @@ -43,7 +43,7 @@ public class CommandContextTest { @Test(expected = CommandException.class) public void testInvalidFlags() throws CommandException { - String failingCommand = "herpderp -opw testers"; + final String failingCommand = "herpderp -opw testers"; new CommandContext(failingCommand, new HashSet(Arrays.asList('o', 'w'))); } @@ -81,7 +81,7 @@ public class CommandContextTest { } @Test - public void testHagingQuoted() { + public void testHangingQuote() { String cmd = "r \"hello goodbye have fun"; try { CommandContext context = new CommandContext(cmd);