Skip to content

Commit b722762

Browse files
committed
fix failed test
1 parent 1bc57c7 commit b722762

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

tests/testsuite/cargo_owner/add_help/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use cargo_test_support::curr_dir;
22
use cargo_test_support::prelude::*;
33

44
#[cargo_test]
5-
fn case() {
5+
fn add_case() {
66
snapbox::cmd::Command::cargo_ui()
77
.arg("owner")
88
.arg("add")

tests/testsuite/cargo_owner/add_help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name of a user or team to invite as an owner
22

3-
Usage: cargo owner add <OWNER_NAME> [CRATE_NAME] [OPTIONS]
3+
Usage: cargo[EXE] owner add <OWNER_NAME> [CRATE_NAME] [OPTIONS]
44

55
Options:
66
--crate <CRATE_NAME> Crate name that you want to manage the owner

tests/testsuite/cargo_owner/help/stdout.log

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Manage the owners of a crate on the registry
22

3-
Usage: cargo owner [OPTIONS]
3+
Usage: cargo[EXE] owner [OPTIONS]
44
cargo owner add <OWNER_NAME> [CRATE_NAME] [OPTIONS]
55
cargo owner remove <OWNER_NAME> [CRATE_NAME] [OPTIONS]
66
cargo owner list [CRATE_NAME] [OPTIONS]
@@ -21,23 +21,23 @@ Manifest Options:
2121
--locked Require Cargo.lock is up to date
2222
--offline Run without accessing the network
2323

24-
cargo owner add:
24+
cargo[EXE] owner add:
2525
Name of a user or team to invite as an owner
2626
--crate <CRATE_NAME> Crate name that you want to manage the owner
2727
--index <INDEX> Registry index URL to modify owners for
2828
--registry <REGISTRY> Registry to modify owners for
2929
--token <TOKEN> API token to use when authenticating
3030
-h, --help Print help
3131

32-
cargo owner remove:
32+
cargo[EXE] owner remove:
3333
Name of a user or team to remove as an owner
3434
--crate <CRATE_NAME> Crate name that you want to manage the owner
3535
--index <INDEX> Registry index URL to modify owners for
3636
--registry <REGISTRY> Registry to modify owners for
3737
--token <TOKEN> API token to use when authenticating
3838
-h, --help Print help
3939

40-
cargo owner list:
40+
cargo[EXE] owner list:
4141
List owners of a crate
4242
--crate <CRATE_NAME> Crate name that you want to manage the owner
4343
--index <INDEX> Registry index URL to modify owners for

tests/testsuite/cargo_owner/list_help/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use cargo_test_support::curr_dir;
22
use cargo_test_support::prelude::*;
33

44
#[cargo_test]
5-
fn case() {
5+
fn list_case() {
66
snapbox::cmd::Command::cargo_ui()
77
.arg("owner")
88
.arg("list")

tests/testsuite/cargo_owner/list_help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
List owners of a crate
22

3-
Usage: cargo owner list [CRATE_NAME] [OPTIONS]
3+
Usage: cargo[EXE] owner list [CRATE_NAME] [OPTIONS]
44

55
Options:
66
--crate <CRATE_NAME> Crate name that you want to manage the owner

tests/testsuite/cargo_owner/remove_help/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use cargo_test_support::curr_dir;
22
use cargo_test_support::prelude::*;
33

44
#[cargo_test]
5-
fn case() {
5+
fn remove_case() {
66
snapbox::cmd::Command::cargo_ui()
77
.arg("owner")
88
.arg("remove")

tests/testsuite/cargo_owner/remove_help/stdout.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name of a user or team to remove as an owner
22

3-
Usage: cargo owner remove <OWNER_NAME> [CRATE_NAME] [OPTIONS]
3+
Usage: cargo[EXE] owner remove <OWNER_NAME> [CRATE_NAME] [OPTIONS]
44

55
Options:
66
--crate <CRATE_NAME> Crate name that you want to manage the owner

0 commit comments

Comments
 (0)