Ref PHI48. If a patch removes all of the lines at the end of a file, we can get some array index errors.
Details
Details
Added failing test, made it pass.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- extrawhite
- Lint
Lint Passed Severity Location Code Message Auto-Fix src/lint/renderer/__tests__/data/extrawhitespace.txt:2 TXT9 Trailing Whitespace at EOF - Unit
Tests Passed - Build Status
Buildable 18505 Build 24922: Run Core Tests Build 24921: arc lint + arc unit
Event Timeline
Comment Actions
- Be a little more clever so the test case does not need to have trailing whitespace itself.
- Also, this made a lint description more concise.