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 <rustin.liu@gmail.com>
  • Loading branch information
Rustin170506 committed Oct 23, 2022
1 parent 3bbd5a5 commit f6e6f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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

0 comments on commit f6e6f9f

Please sign in to comment.