Skip to content

Commit

Permalink
Fix issue #1103 in Issue1225UnmatchedArgBadIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalluck authored and remkop committed Dec 1, 2020
1 parent f284a9d commit e5033e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/picocli/Issue1225UnmatchedArgBadIndex.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package picocli;

import org.junit.Rule;
import org.junit.Test;
import org.junit.contrib.java.lang.system.ProvideSystemProperty;
import picocli.CommandLine.Command;
import picocli.CommandLine.Parameters;

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

public class Issue1225UnmatchedArgBadIndex {
@Rule
public final ProvideSystemProperty ansiOFF = new ProvideSystemProperty("picocli.ansi", "false");


@Command(name = "app", mixinStandardHelpOptions = true, version = "app 1.0",
description = "....")
Expand Down

0 comments on commit e5033e1

Please sign in to comment.