Disable picocli ansi when testing (#973)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Chris Mckay 6 years ago committed by GitHub
parent ddf1bd2d24
commit a71283a870
  1. 2
      pantheon/src/test/java/tech/pegasys/pantheon/cli/CommandTestAbstract.java

@ -145,6 +145,8 @@ public abstract class CommandTestAbstract {
}
protected CommandLine.Model.CommandSpec parseCommand(final InputStream in, final String... args) {
// turn off ansi usage globally in picocli
System.setProperty("picocli.ansi", "false");
final TestPantheonCommand pantheonCommand =
new TestPantheonCommand(

Loading…
Cancel
Save