Visitar URL original
Update goldens paths in gitattributes by DanTup · Pull Request #1192 · flutter/devtools · GitHub
The Wayback Machine - https://web.archive.org/web/20201231135747/https://github.com/flutter/devtools/pull/1192
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

Update goldens paths in gitattributes #1192

Merged
merged 3 commits into from Oct 15, 2019
Merged

Conversation

@DanTup
Copy link
Contributor

@DanTup DanTup commented Oct 15, 2019 •

On the Windows bots, these files are read from disk with \r\n but the actual output is just \n. I don't believe these tests care about those differences, so this will normalise them all to \n before comparing.

Example failure:

https://travis-ci.org/flutter/devtools/jobs/598111233#L444

We actually had gitattributes to ensure the golden files are always checked out the same, but this broke when the files where moved. I've changed this PR to just handle those paths and undone the normalisation change.

@DanTup DanTup changed the title Normalise newlines in golden comparisons Update goldens paths in gitattributes Oct 15, 2019
@kenzieschmoll
Copy link
Member

@kenzieschmoll kenzieschmoll commented Oct 15, 2019

lgtm_orangatang

@DanTup DanTup merged commit d9a41f5 into flutter:master Oct 15, 2019
3 checks passed
3 checks passed
WIP Ready for review
Details
cla/google All necessary CLAs are signed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.