Added testParseSimilar testcase to LiteralCommandNode
This commit is contained in:
@@ -29,6 +29,11 @@ public class LiteralCommandNodeTest {
|
||||
assertThat(node.parse("foo", contextBuilder), is(""));
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentSyntaxException.class)
|
||||
public void testParseSimilar() throws Exception {
|
||||
node.parse("foobar", contextBuilder);
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentSyntaxException.class)
|
||||
public void testParseInvalid() throws Exception {
|
||||
node.parse("bar", contextBuilder);
|
||||
|
||||
Reference in New Issue
Block a user