Skip to content

Commit 976111f

Browse files
committed
Added another shellwords test
1 parent 8f01484 commit 976111f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/test/java/cucumber/runtime/ShellwordsTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,10 @@ public void parses_double_quoted_strings() {
2323
public void parses_both_single_and_double_quoted_strings() {
2424
assertEquals(asList("--name", "The Fox", "--fur", "Brown White"), Shellwords.parse("--name \"The Fox\" --fur 'Brown White'"));
2525
}
26+
27+
@Ignore("TODO: fixme")
28+
@Test
29+
public void can_quote_both_single_and_double_quotes() {
30+
assertEquals(asList("'", "\""), Shellwords.parse("\"'\" '\"'"));
31+
}
2632
}

0 commit comments

Comments
 (0)