Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Snapshot Failure Reporting Shows Line Number inside snapshot and not test #16

Open
jacobgardner opened this issue Dec 9, 2018 · 0 comments

Comments

@jacobgardner
Copy link
Contributor

When there's a snapshot failure, it reports the assertion occurred outside of the test and inside of the snapshot lib module.

Diff < left / right > :
<"This is a test for \nmultiline strings"
>"This is a test for \nmultiline stringz"

', src\lib.rs:103:17

It would probably be more useful if this showed inside of the test itself instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant