Skip to content

Commit da22871

Browse files
committed
Clarify test names
1 parent 727788d commit da22871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tests/krate.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ fn following() {
13861386
}
13871387

13881388
#[test]
1389-
fn yank() {
1389+
fn yank_works_as_intended() {
13901390
let (app, anon, _, token) = TestApp::full().with_token();
13911391

13921392
// Upload a new crate, putting it in the git index
@@ -1424,7 +1424,7 @@ fn yank() {
14241424
}
14251425

14261426
#[test]
1427-
fn yank_not_owner() {
1427+
fn yank_by_a_non_owner_fails() {
14281428
let (app, _, _, token) = TestApp::full().with_token();
14291429

14301430
let another_user = app.db_new_user("bar");

0 commit comments

Comments
 (0)