Skip to content

Replace line endings in test#83

Closed
jamesdbaker wants to merge 2 commits intobodleian:mainfrom
jamesdbaker:fix_lineendings_test
Closed

Replace line endings in test#83
jamesdbaker wants to merge 2 commits intobodleian:mainfrom
jamesdbaker:fix_lineendings_test

Conversation

@jamesdbaker
Copy link
Copy Markdown
Contributor

@jamesdbaker jamesdbaker commented Apr 21, 2026

Fixes #82

Fixes test on Windows by replacing \r\n line endings with \n when reading reference file in test.

@jamesdbaker jamesdbaker changed the title Fixes #82 Replace line endings in test Apr 21, 2026
Copy link
Copy Markdown
Collaborator

@extua extua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a good candidate for conditional compilation.

Could you try annotating the function with #[cfg(target_family = "windows")]?

@extua extua mentioned this pull request Apr 21, 2026
@jamesdbaker
Copy link
Copy Markdown
Contributor Author

Changes made. Works on Windows, haven't tested on other systems.

@jamesdbaker jamesdbaker requested a review from extua April 24, 2026 15:25
@extua
Copy link
Copy Markdown
Collaborator

extua commented Apr 28, 2026

Closing this as these commits are already in #84

@extua extua closed this Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests fail on Windows (line ending differences)

2 participants