We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd023e commit feb41abCopy full SHA for feb41ab
src/test/java/picocli/TracerTest.java
@@ -2,6 +2,7 @@
2
3
import org.junit.Rule;
4
import org.junit.Test;
5
+import org.junit.contrib.java.lang.system.ProvideSystemProperty;
6
import org.junit.contrib.java.lang.system.RestoreSystemProperties;
7
import org.junit.rules.TestRule;
8
@@ -23,6 +24,9 @@ public class TracerTest {
23
24
@Rule
25
public final TestRule restoreSystemProperties = new RestoreSystemProperties();
26
27
+ @Rule
28
+ public final ProvideSystemProperty ansiOFF = new ProvideSystemProperty("picocli.ansi", "false");
29
+
30
private static void clearBuiltInTracingCache() throws Exception {
31
Field field = Class.forName("picocli.CommandLine$BuiltIn").getDeclaredField("traced");
32
field.setAccessible(true);
0 commit comments