Closed yuvalr1 closed 2 years ago
I only ran the tests on Windows, but I'm counting on the Github workflow to run the tests on Unix as well. Please tell me if this is not the case, and I will run the tests on a Unix machine.
This repository is a public mirror of the repository which we really work on. I have ported this PR to the internal repo, and will merge it from there. It should show up in this repo tomorrow.
Thanks for your contribution!
@Mats-SX Thank you for merging the fix and for your additional improvements and comments. There were a few other tests mentioned in #195 that this PR doesn't solve because they were less trivial. I will try to find some time getting to them as well.
Some tests were failing on Windows due to differences in CR;LF with Unix. Replacing the hardcoded '\n' in these tests with a call to System.lineSeparator() which returns '\n' on Unix and '\r\n' on Windows fixed the problem.
Partially fixes #195 (fixes the trivial CRLF issues)