Skip to content

Commit

Permalink
Update error messages for tests
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <[email protected]>
  • Loading branch information
Rustin170506 committed Oct 23, 2022
1 parent 3bbd5a5 commit f5a5871
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testsuite/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ fn unpublishable_crate() {
.with_stderr(
"\
[ERROR] `foo` cannot be published.
The registry `crates-io` is not listed in the `publish` value in Cargo.toml.
`publish` is set to `false` or an empty list in Cargo.toml and prevents publishing.
",
)
.run();
Expand Down Expand Up @@ -684,7 +684,7 @@ fn publish_empty_list() {
.with_stderr(
"\
[ERROR] `foo` cannot be published.
The registry `alternative` is not listed in the `publish` value in Cargo.toml.
`publish` is set to `false` or an empty list in Cargo.toml and prevents publishing.
",
)
.run();
Expand Down Expand Up @@ -848,7 +848,7 @@ fn block_publish_no_registry() {
.with_stderr(
"\
[ERROR] `foo` cannot be published.
The registry `alternative` is not listed in the `publish` value in Cargo.toml.
`publish` is set to `false` or an empty list in Cargo.toml and prevents publishing.
",
)
.run();
Expand Down

0 comments on commit f5a5871

Please sign in to comment.