Recently this unit test was always failing for some specific users.
I was able to reproduce the issue with an Italian unix environment:
arc unit src/parser/__tests__/ArcanistBundleTestCase.php
Obtaining:
EXCEPTION (Exception): Diff Parse Exception: Expected '\ No newline at end of file'.
After this change, the involved unit test always work also in my Italian environment.
Note that the LC_ALL=C means that all localization should be deactivated,
and we should instead use C-sourced strings (not translated in any language). Nice!
Closes T15927