Skip to content

Always check out test headers and expectations as LF #1024

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

Merged

Conversation

AndrewGaspar
Copy link
Contributor

Addresses #1023.

The line endings accidentally don't matter for the majority of the tests because we pass both the generated .rs files and expectations .rs files through rustfmt, which normalizes the line endings to LF. But this change makes it explicit that we expect to test against files with LF line endings.

@fitzgen
Copy link
Member

fitzgen commented Sep 25, 2017

Thanks a ton for investigating this and following through, @AndrewGaspar !

@fitzgen
Copy link
Member

fitzgen commented Sep 25, 2017

@bors-servo r+

@bors-servo
Copy link

📌 Commit 88aafd7 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit 88aafd7 with merge 4140c96...

bors-servo pushed a commit that referenced this pull request Sep 25, 2017
…=fitzgen

Always check out test headers and expectations as LF

Addresses #1023.

The line endings accidentally don't matter for the majority of the tests because we pass both the generated .rs files and expectations .rs files through rustfmt, which normalizes the line endings to LF. But this change makes it explicit that we expect to test against files with LF line endings.
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing 4140c96 to master...

@bors-servo bors-servo merged commit 88aafd7 into rust-lang:master Sep 25, 2017
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.

4 participants