Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New line issues in tests #167

@ngx472

Description

@ngx472

Hi

Just installed on Windows and several test failed.
e.g. issue162_NumberFormattingParsing
The issue is that the following string has CRLF as line ends
final var string = GPX.Writer.DEFAULT.toString(gpx);
Whereas the expected value happens to have LF only (depends on the IDE setup and whether the file was touched and saved)
The solution would be to compare while ignoring line endings.
I believe it should be a feature of junit but team disagrees junit-team/junit-framework#2394

Thanks
Ngx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions