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

Ignore line endings in test assertions #18674

Merged
merged 1 commit into from
Oct 31, 2019
Merged

Ignore line endings in test assertions #18674

merged 1 commit into from
Oct 31, 2019

Conversation

roji
Copy link
Member

@roji roji commented Oct 31, 2019

Test failures triggered in EFCore.PG (tests are not overridden). Not sure why this doesn't happen on our CI but it doesn't really matter much...

@roji
Copy link
Member Author

roji commented Oct 31, 2019

/cc @Pilchie

@smitpatel
Copy link
Contributor

A wild guess!
When we run tests on our CI, we checkout actual source code. Git adjust line endings to actual platform. But the packages we ship are built on windows machine so specs assemblies got windows line endings. When you use those packages on linux machine, you get mismatch.

@roji
Copy link
Member Author

roji commented Oct 31, 2019

Good guess, makes sense to me... There are a few more cases like this, will be amending this PR a bit.

@roji roji force-pushed the TestLineEndings branch 2 times, most recently from 4d022e5 to fe10323 Compare October 31, 2019 19:21
@roji roji merged commit ca8bc64 into release/3.1 Oct 31, 2019
@roji roji deleted the TestLineEndings branch October 31, 2019 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants