Skip to content

Commit

Permalink
chore: remove unstable-options for logout
Browse files Browse the repository at this point in the history
  • Loading branch information
arlosi committed Aug 29, 2023
1 parent 87a14ed commit bd4444f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/testsuite/logout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ fn default_registry_configured() {
check_token(Some("dummy-token"), Some("dummy-registry"));
check_token(Some("crates-io-token"), None);

cargo_process("logout -Zunstable-options")
.masquerade_as_nightly_cargo(&["cargo-logout"])
cargo_process("logout")
.with_stderr(
"\
[LOGOUT] token for `dummy-registry` has been removed from local storage
Expand All @@ -97,8 +96,7 @@ fn default_registry_configured() {
check_token(None, Some("dummy-registry"));
check_token(Some("crates-io-token"), None);

cargo_process("logout -Zunstable-options")
.masquerade_as_nightly_cargo(&["cargo-logout"])
cargo_process("logout")
.with_stderr("[LOGOUT] not currently logged in to `dummy-registry`")
.run();
}

0 comments on commit bd4444f

Please sign in to comment.