Skip to content

Update tests.rs to use pretty_assertions for readable diffs#957

Merged
emilio merged 2 commits intomozilla:masterfrom
scovich:pretty-assert
May 26, 2024
Merged

Update tests.rs to use pretty_assertions for readable diffs#957
emilio merged 2 commits intomozilla:masterfrom
scovich:pretty-assert

Conversation

@scovich
Copy link
Copy Markdown
Contributor

@scovich scovich commented May 17, 2024

The pretty_assert package makes it much (much) easier to compare expected vs. actual output when a test fails. Example:
image

@GrayJack GrayJack mentioned this pull request May 21, 2024
Copy link
Copy Markdown
Collaborator

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine!

@emilio emilio added this pull request to the merge queue May 26, 2024
Merged via the queue into mozilla:master with commit 751186d May 26, 2024
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.

2 participants