Skip to content

Commit e5033e1

Browse files
dwalluckremkop
authored andcommitted
Fix issue #1103 in Issue1225UnmatchedArgBadIndex
1 parent f284a9d commit e5033e1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/java/picocli/Issue1225UnmatchedArgBadIndex.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package picocli;
22

3+
import org.junit.Rule;
34
import org.junit.Test;
5+
import org.junit.contrib.java.lang.system.ProvideSystemProperty;
46
import picocli.CommandLine.Command;
57
import picocli.CommandLine.Parameters;
68

@@ -11,6 +13,9 @@
1113
import static org.junit.Assert.*;
1214

1315
public class Issue1225UnmatchedArgBadIndex {
16+
@Rule
17+
public final ProvideSystemProperty ansiOFF = new ProvideSystemProperty("picocli.ansi", "false");
18+
1419

1520
@Command(name = "app", mixinStandardHelpOptions = true, version = "app 1.0",
1621
description = "....")

0 commit comments

Comments
 (0)