There is no bug in the code being tested, but in the test itself. To avoid adding custom test-only assets, I decided to test with existing files in the repo root. Text files... Which, of course, in hindsight is stupid because of the \r\n discrepancy. The tests as they are will either succeed on Windows and fail on normal OSes or vice-versa.
There is no bug in the code being tested, but in the test itself. To avoid adding custom test-only assets, I decided to test with existing files in the repo root. Text files... Which, of course, in hindsight is stupid because of the
\r\n
discrepancy. The tests as they are will either succeed on Windows and fail on normal OSes or vice-versa.Just add the test-only binary assets