kpdecker / jsdiff

A javascript text differencing implementation.
BSD 3-Clause "New" or "Revised" License
7.69k stars 491 forks source link

Add tests of existing broken parsePatch behaviour, to fix before next release #525

Closed ExplodingCabbage closed 3 weeks ago

ExplodingCabbage commented 3 weeks ago

parsePatch uses a subtly broken parsing strategy; the second example here shows why. I'll fix it in https://github.com/kpdecker/jsdiff/pull/522, I think.