I am running Intellij on a mac. I have used /n to represent line breaks in my JUNIT test cases.
But when I upload to Github, the CI for Windows shows an error saying it does not match.
I then booted up Windows on a virtual machine and saw this LF and CRLF mismatch on my expected and actual test cases on intellij IDE.
These test cases work fine on Mac. The Github CI is working well for mac and Linux, but failing for Windows. All my test cases are failing because of this and I am not sure how to fix it.
Hi Prof,
I am running Intellij on a mac. I have used /n to represent line breaks in my JUNIT test cases. But when I upload to Github, the CI for Windows shows an error saying it does not match. I then booted up Windows on a virtual machine and saw this LF and CRLF mismatch on my expected and actual test cases on intellij IDE.
These test cases work fine on Mac. The Github CI is working well for mac and Linux, but failing for Windows. All my test cases are failing because of this and I am not sure how to fix it.
Any help would be appreciated. Thanks prof!