1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-04-03 16:08:17 +02:00
phorge-arcanist/src/parser/diff/__tests__
epriestley 1da98a11f1 Correctly parse git diffs with an empty file at the end
Summary: A minor bug in the parser prevented it from handling git diffs where an
empty file appears at the end of the diff. Since git appends an extra newline,
we failed to jump into the '$line === null' block.

Test Plan: Ran unit tests. Generated a revision which only deleted an empty
file.

Reviewers: jungejason, nh, tuomaspelkonen, aran

Reviewed By: nh

CC: aran, nh, epriestley

Differential Revision: 998
2011-10-10 19:03:48 -07:00
..
data Correctly parse git diffs with an empty file at the end 2011-10-10 19:03:48 -07:00
__init__.php Initial commit. 2011-01-09 15:22:25 -08:00
ArcanistDiffParserTestCase.php Correctly parse git diffs with an empty file at the end 2011-10-10 19:03:48 -07:00