HomePhabricator

Correct lint rendering when patching trailing whitespace in files

Description

Correct lint rendering when patching trailing whitespace in files

Summary: Ref PHI48. If a patch removes all of the lines at the end of a file, we can get some array index errors.

Test Plan: Added failing test, made it pass.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18631

Details

Provenance
epriestleyAuthored on Sep 20 2017, 6:59 PM
epriestleyPushed on Sep 20 2017, 7:07 PM
Reviewer
amckinley
Differential Revision
D18631: Correct lint rendering when patching trailing whitespace in files
Parents
rARCdf81d79d77f8: Add explicit limits to unit test/lint error names
Branches
Unknown
Tags
Unknown
Build Status
Buildable 18507
Build 24925: Run Core Tests