Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Show location of difference when comparing two strings #907
Click for example test output for xml text
At the moment, I'm copy & pasting from the test output into a diff tool so I can find where the difference is.
It would be great if the assert message also included a hint to where to the first difference.
Some ideas that I'd find handy (any of these could go after or before the current message showing the full actual vs expected text)
The specific details of how to show what the differences are (or at least the first difference) aren't very important, anything that helps speed up tracking down the differences would be