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

Hard to read diff #5

Open
rluvaton opened this issue Jul 11, 2024 · 1 comment
Open

Hard to read diff #5

rluvaton opened this issue Jul 11, 2024 · 1 comment

Comments

@rluvaton
Copy link

rluvaton commented Jul 11, 2024

Currently, it's tough to read the diff in case of assertion failure, it would be great if it could use pretty_assertions under the hood or similar

@joelparkerhenderson
Copy link
Member

Super idea. I'll take a look. What do you think about owo-colors? https://crates.io/crates/owo-colors

Do you code rust? I would be fully open to PRs that add owo-colors, or a color solution that can work with no_std and also lets the user opt-in/opt-out via environment variable. (This is important because the asserts must be able to run in no_std, and must also be able to run in line-oriented CI/CD servers which compare line output snapshots)

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

No branches or pull requests

2 participants