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

Make test less brittle prior to assert_eq failure message format change #4181

Merged
merged 2 commits into from
Jun 19, 2017
Merged

Make test less brittle prior to assert_eq failure message format change #4181

merged 2 commits into from
Jun 19, 2017

Conversation

gilescope
Copy link
Contributor

@gilescope gilescope commented Jun 16, 2017

PR required for rust-lang/rust#42541 to make assert_eq error message be multi-line. Before implementing this we need to make the current test less brittle.
Not 100% clear on if I need the final [...] or not.

PR #42541 on Rust is to make assert_eq error message be multi-line. Before implementing this we need to make the current test less brittle.
@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@alexcrichton
Copy link
Member

Thanks for the pr! Looks like some tests are failing though?

@gilescope
Copy link
Contributor Author

@alexcrichton sorry for the wait, have just switched to a new computer and turned 40. Build looks greener.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Jun 19, 2017

📌 Commit 9569106 has been approved by alexcrichton

@alexcrichton
Copy link
Member

Thanks!

@bors
Copy link
Contributor

bors commented Jun 19, 2017

⌛ Testing commit 9569106 with merge ae41248...

bors added a commit that referenced this pull request Jun 19, 2017
Make test less brittle prior to assert_eq failure message format change

PR required for rust-lang/rust#42541 to make assert_eq error message be multi-line. Before implementing this we need to make the current test less brittle.
Not 100% clear on if I need the final [...] or not.
@bors
Copy link
Contributor

bors commented Jun 19, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing ae41248 to master...

@bors bors merged commit 9569106 into rust-lang:master Jun 19, 2017
@gilescope
Copy link
Contributor Author

Going to reopen as test.rs is another example.

@gilescope gilescope mentioned this pull request Jun 21, 2017
bors added a commit that referenced this pull request Jun 21, 2017
Multiline assert

Found a second location where multiline assert_eq failure breaks a test.
This is an extention of #4181.
@ehuss ehuss added this to the 1.20.0 milestone Feb 6, 2022
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.

5 participants