Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on environments that support ANSI colors #309

Closed
remkop opened this issue Mar 26, 2018 · 1 comment
Closed

Tests fail on environments that support ANSI colors #309

remkop opened this issue Mar 26, 2018 · 1 comment
Labels
theme: auto-completion An issue or change related to auto-completion type: bug 🐛
Milestone

Comments

@remkop
Copy link
Owner

remkop commented Mar 26, 2018

To reproduce, run the tests in babun or cygwin.

@remkop remkop added type: bug 🐛 theme: auto-completion An issue or change related to auto-completion labels Mar 26, 2018
@remkop remkop added this to the 3.0 milestone Mar 26, 2018
@remkop
Copy link
Owner Author

remkop commented Mar 26, 2018

Solution: add this rule to the following tests:

@Rule
public final ProvideSystemProperty ansiOFF = new ProvideSystemProperty("picocli.ansi", "false");
  • AutoCompleteTest
  • CommandLineHelpTest
  • CommandLineTest
  • PicocliBaseScriptTest
  • PicocliScriptASTTransformationTest

@remkop remkop closed this as completed in a59c31f Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: auto-completion An issue or change related to auto-completion type: bug 🐛
Projects
None yet
Development

No branches or pull requests

1 participant