Closed shxr3f closed 2 years ago
Will wait for someone to answer 🙂
You can try replacing \n
with System.lineSeparator()
. It worked for me.
You can try replacing
\n
withSystem.lineSeparator()
. It worked for me.
Oh right, will try it out thanks!!
The above image is a test that checks what was printed out on the console when the mentioned method is called. This test case passes on ubuntu os, however there is a need to include a "\r" in front of every "\n" (see image below) when running the tests on windows for the same test to pass. How do I deal with this issue?