sapling/eden/scm/lib/xdiff/tests
Mateusz Kwapich 7ca58332d0 fix xdiff behaviour for empty files
Summary:
When comparing empty file with file with content our xdiff wrongly included
warning about missing newline, which also made the line counter in the hunk
header off-by-one.

Empty files are quite rare in our repos, that's why I discovered this bug only
now (it broke phabricator parsing of this single commit).

Reviewed By: markedson1024

Differential Revision: D21141341

fbshipit-source-id: 9d3e0d8a61ac4ee2cf27978b99b3a092259ee186
2020-04-21 05:30:21 -07:00
..
run_tests.sh move cram from xplat/third-party to third-party 2019-12-20 16:14:17 -08:00
setup.sh Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
test-basic.t fix xdiff behaviour for empty files 2020-04-21 05:30:21 -07:00
test-newlines.t Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00