Skip to content

Commit

Permalink
[#2342] example using custom IParameterPreprocessor (fixes in comments)
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Oct 20, 2024
1 parent 4ce4ffc commit 2ddfdae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/test/java/picocli/Issue2342.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public boolean preprocess(Stack<String> args, CommandSpec commandSpec, ArgSpec a

@Ignore("I don't understand how this could be specified on the command line: " +
"quoted values, but still somehow the shell would pass 3 separate String values " +
"( \"--parameters, --target and 21\" ) to the Java application?")
"( '--parameters, --target and 21' ) to the Java application?")
@Test
public void testArgsWithCompilerArgumentsSingleQuoteOnValue() {
CompileOptions co = new CompileOptions();
Expand Down Expand Up @@ -110,7 +110,8 @@ public void testArgsWithCompilerArgumentsDoubleQuoteOnValue() {
assertEquals("my-file.jar", co.target);
}

@Ignore("You really need --compiler-arguments to be included in the quoted value, and still be recognized as an option?")
@Ignore("You really need --compiler-arguments to be included in the quoted value, " +
"and still be recognized as an option?")
@Test
public void testArgsWithCompilerArgumentsSingleQuote() {
CompileOptions co = new CompileOptions();
Expand All @@ -132,7 +133,8 @@ public void testArgsWithCompilerArgumentsSingleQuote() {
assertEquals("my-file.jar", co.target);
}

@Ignore("You really need --compiler-arguments to be included in the quoted value, and still be recognized as an option?")
@Ignore("You really need --compiler-arguments to be included in the quoted value, " +
"and still be recognized as an option?")
@Test
public void testArgsWithCompilerArgumentsDoubleQuote() {
CompileOptions co = new CompileOptions();
Expand Down

0 comments on commit 2ddfdae

Please sign in to comment.