Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests when using git core.autcrlf=true on windows #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fperezgonz
Copy link

Tests were failing on my windows machine due to line breaks being checked out as CRLF
I changed the tests so that they use the OS line break characters

Even though technically the default value for core.autocrlf is false, the windows installer for git picks true by default, and it is the recommended configuration for windows. On linux the default is false, and that is the recommended configuration for linux, I think using the OS line breaks should make the tests compatible with most environments

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.

1 participant