Skip to content

Fix yank test #1753

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 2 commits into from
May 30, 2019
Merged

Fix yank test #1753

merged 2 commits into from
May 30, 2019

Conversation

carols10cents
Copy link
Member

This test wasn't set up correctly, so the error message that was being checked wasn't quite right.

Also, based on this comment it seems like the names of these tests weren't as descriptive as they could be-- the previous test covers the success case of an owner being able to yank, and the next text checks that nonowners aren't allowed to yank.

This makes the error returned what we're really trying to test for
@sgrif
Copy link
Contributor

sgrif commented May 28, 2019

@bors: r+

@bors
Copy link
Contributor

bors commented May 28, 2019

📌 Commit b1b7792 has been approved by sgrif

@bors
Copy link
Contributor

bors commented May 28, 2019

⌛ Testing commit b1b7792 with merge 391b38d...

bors added a commit that referenced this pull request May 28, 2019
Fix yank test

This test wasn't set up correctly, so the error message that was being checked wasn't quite right.

Also, [based on this comment](#1697 (comment)) it seems like the names of these tests weren't as descriptive as they could be-- the previous test covers the success case of an owner being able to yank, and the next text checks that nonowners aren't allowed to yank.
@bors
Copy link
Contributor

bors commented May 28, 2019

💔 Test failed - checks-travis

@jtgeibel
Copy link
Member

CI should be green on beta now.

@bors r+

@bors
Copy link
Contributor

bors commented May 30, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

@bors
Copy link
Contributor

bors commented May 30, 2019

📌 Commit b1b7792 has been approved by jtgeibel

bors added a commit that referenced this pull request May 30, 2019
Fix yank test

This test wasn't set up correctly, so the error message that was being checked wasn't quite right.

Also, [based on this comment](#1697 (comment)) it seems like the names of these tests weren't as descriptive as they could be-- the previous test covers the success case of an owner being able to yank, and the next text checks that nonowners aren't allowed to yank.
@bors
Copy link
Contributor

bors commented May 30, 2019

⌛ Testing commit b1b7792 with merge ef5662a...

@bors
Copy link
Contributor

bors commented May 30, 2019

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing ef5662a to master...

@bors bors merged commit b1b7792 into rust-lang:master May 30, 2019
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