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

Fix test failures with --features no-color #75

Merged
merged 1 commit into from May 26, 2020

Conversation

kentfredric
Copy link
Contributor

This patch simply gates via various cfg attributes, the tests that are broken by the feature 'no-color' being turned on.

There may be better approaches to this, but it otherwise improves the certainty that logic works as intended with this feature.

You can now do:

    cargo hack --feature-powerset test 

And have no failures.

@mackwic
Copy link
Collaborator

mackwic commented May 26, 2020

Nice catch ! Thank you

@mackwic mackwic merged commit 07425ea into colored-rs:master May 26, 2020
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