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 for autocrlf and failing tests issue on Windows #1872

Merged
merged 1 commit into from
Jun 30, 2024

Conversation

Hlado
Copy link
Contributor

@Hlado Hlado commented Jun 30, 2024

Cloning repository on Windows with autocrlf git option enabled causes changes in line ending style for html ant txt files using in tests. That leads to failing of following tests (because files size gets bigger):

ServerTest.HeadMethod200Static
ServerTest.GetMethodDir
ServerTest.StaticFileRangeBigFile
ServerTest.StaticFileRangeBigFile2
ServerTest.StaticFileBigFile

Proposed solution introduces .gitattributes file to control line ending style for individual files.

@yhirose
Copy link
Owner

yhirose commented Jun 30, 2024

Thanks!

@yhirose yhirose merged commit 177d842 into yhirose:master Jun 30, 2024
4 checks passed
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.

None yet

2 participants