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

When diffing with spew, use a format that doesn't include pointer addresses #365

Merged

Conversation

atombender
Copy link
Contributor

When diffing with spew, use a format that doesn't include pointer addresses (which generate false negatives).

This updates go-spew to 04cdfd42973bb9c8589fd6a731800cf222fde1a9.

This fixes #317.

…resses (which

generate false negatives). This updates go-spew to 04cdfd42973bb9c8589fd6a731800cf222fde1a9.
@ernesto-jimenez
Copy link
Member

@atombender thanks!

Sorry it took a few days to review, but I'm travelling a lot right now. I'm merging it now.

Do you want to tackle an option to always return a trailing comma in Spew too? it would fix #288 and make the diffing even better :)

Thanks again!

@ernesto-jimenez ernesto-jimenez merged commit 18a02ba into stretchr:master Nov 17, 2016
@atombender
Copy link
Contributor Author

Awesome, thanks, @ernesto-jimenez. I hadn't though about the comma problem, but sure, I can take a look at that.

jonnyreeves pushed a commit to jonnyreeves/testify that referenced this pull request Jan 5, 2017
…_diff

When diffing with spew, use a format that doesn't include pointer addresses
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.

Diff format should not include pointer addresses
3 participants