Doesn't properly handle changed last line followed by "\ No newline at end of file"
ecm-pushbx opened this issue · 3 comments
ecm-pushbx commented
Running version 0.1.4 on an amd64 Debian host. The minus line (deleted) is treated as just deletion, all highlighted by diffr, and the \ No newline at end of file
line and the following plus line (addition) are both not coloured at all.
mookid commented
hello @ecm-pushbx
$ cat before <(echo @@@@@@) after <(echo @@@@@@)
abcd efgh ijkl@@@@@@
efgh ijkl mnop@@@@@@
What would you expect to be different?
ecm-pushbx commented
It seems that my version is outdated, your test shows the wrong output on my end.
I mentioned a version originally, but it probably helps more to list the commit ID, which was d20e32f. I tried to update the repo and rebuild the application. This revision seems to change the behaviour as desired: d0ed0b9
mookid commented
cool! thanks for the bug report, and sorry for the slow response.