Skip to content

tests: Use assert_eq!() to check error response payload content #3097

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
merged 6 commits into from
Dec 22, 2020

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 17, 2020

This PR continues #3066 and converts the remaining tests to use the same pattern of using assert_eq!() and the json!() macro to assert on the exact structure and content of the error responses.

r? @jtgeibel

@jtgeibel
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Dec 22, 2020

📌 Commit 6013249 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Dec 22, 2020

⌛ Testing commit 6013249 with merge d20f081...

@bors
Copy link
Contributor

bors commented Dec 22, 2020

☀️ Test successful - checks-actions
Approved by: jtgeibel
Pushing d20f081 to master...

@bors bors merged commit d20f081 into rust-lang:master Dec 22, 2020
@Turbo87 Turbo87 deleted the errors branch December 23, 2020 09:44
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