Fixed assertion error on Windows

Platform-specific line separator resulted in failed assertion on Windows when running `mvn test`.