GoBoundless / dyph

A library of useful diffing algorithms for Ruby
https://www.boundless.com/
MIT License
8 stars 2 forks source link

fix the diff sanity check to check if blocks have been removed via their hash method... #39

Closed kevinmook closed 8 years ago

kevinmook commented 8 years ago

... instead of via their inspect method.

This fixes a bug that was raising BadMergeExceptions on objects that overrode their equals and hash methods, but not their inspect method.