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

Pass --color=... to libtest #375

Merged
merged 2 commits into from Jun 3, 2023
Merged

Conversation

max-sixty
Copy link
Sponsor Contributor

@max-sixty max-sixty commented Jun 2, 2023

Two parts to #367 :

  • The libtest output, which this PR solves
    • I've hand-tested it
    • Possibly this becomes moot if cargo is changed to handle more of the output
  • The insta output when insta is called by libtest; e.g. the diffs. There's not much we can do from cargo-insta, but CLICOLOR_FORCE works, because console reads it

Two parts to mitsuhiko#367 :
- The libtest output, which this PR solves
  - I've hand-tested it
  - Possibly this becomes moot if `cargo` is changed to handle more of the output
- The `insta` output when insta is called by libtest; e.g. the diffs. There's not much we can do here, but [`CLICOLOR_FORCE`](http://bixense.com/clicolors/) works
max-sixty added a commit to max-sixty/prql that referenced this pull request Jun 2, 2023
cargo-insta/src/cli.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants