Closed ged closed 12 years ago
Thanks. I know this can be automatically merged, but I want to look them over before I do so and I don't really have time for a few days. If I don't get to this by next Wednesday, could you ping me?
Sure! I've actually been using this as a monkeypatch for quite a while, so a few more days won't hurt anything. I mostly just wanted to bring it to your attention.
Oops, I guess I needed someone to ping me to ping you. :P
Anyways: PING.
The last three Diff::LCS::ChangeTypeTests predicates use a non-existant instance variable, which causes them not to work correctly.
This is a patch for those methods, and specs for them (via the Diff::LCS::Change class).
I wasn't sure what the best testing strategy was, so I tried to err on the side of the least possible code that still showed the bug and the fix. If you'd rather they were written some other way, I'd be happy to do so.