Closed sshaw closed 10 years ago
You going to pull these in?
@sshaw thanks!
What do you think about adding a diff
ing library? Something like this (though I think the diff is not computed in an ideal way, and the message should probably just include the diff).
Hi! I think that it can be a good idea. Unfortunately I don't work with xml right now so I can't support this gem :( I have added you as collaborator so you make changes in the repo.
Thanks for your contribution!
I like the idea of the diff lib, @sshaw !
I'll try to add something this week.
Prior to this failed assertions would indicated that the expected XML was the subject of the assertion.
I was using this commit for my testing, which adds a diff to the failed assertion message, something I think is a must, particularly for large XML docs. I made this change a while ago (just finally forked your repo and committed) and, if I recall, I think the diffing is naive and can lead to a confusing diff. At least it can be used as point of discussion.