We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to get pretty_assertions to print less context, e.g., just a few lines before and after each difference?
pretty_assertions
Apologies if this has been asked before. Also, this an absolutely fantastic crate.
The text was updated successfully, but these errors were encountered:
I also stumbled on pretty_assertions being not so pretty for long strings. Just to leave some context here for other people looking for this feature:
similar_asserts::assert_eq and snapbox::assert_eq both limit the diff context by default.
similar_asserts::assert_eq
snapbox::assert_eq
Sorry, something went wrong.
No branches or pull requests
Is there a way to get
pretty_assertions
to print less context, e.g., just a few lines before and after each difference?Apologies if this has been asked before. Also, this an absolutely fantastic crate.
The text was updated successfully, but these errors were encountered: