toothpick icon indicating copy to clipboard operation
toothpick copied to clipboard

Unit Tests fail on Windows

Open olivierperez opened this issue 4 years ago • 0 comments

Hello, I was going to try to contribute but the Unit Tests fail because of line separator.

Unix line separator is \n Window line separator is \r\n

For instance CyclicDependencyException uses System.getProperty("line.separator") or %n to generate error messages, but CyclicDependencyExceptionTest check result with \n.

If you're OK, I can do the fix myself and open a PR.

I think I may fix it by using \n everywhere because Windows understand it perfectly. So the code won't be platform-dependent.

olivierperez avatar Jul 18 '21 13:07 olivierperez