Benjamintf1 / unmarshalledmatchers

Expanded matchers for JSON matching
MIT License
15 stars 4 forks source link

Add json diff in error message #2

Open NilsJPWerner opened 6 years ago

NilsJPWerner commented 6 years ago

Hi, I love the matcher. Really makes api testing a breeze. It would be awesome if the error message included a diff of the expected json and the actual json. When there is a large chunk of json text it can be hard to find what the difference is between the two.

Benjamintf1 commented 5 years ago

Feel free to pr. The diff code mostly comes(at the time) from the original gomega matcher.