Skip to content

Commit f6e6f9f

Browse files
committed
Update error messages for tests
Signed-off-by: hi-rustin <[email protected]>
1 parent 3bbd5a5 commit f6e6f9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/publish.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ fn unpublishable_crate() {
325325
.with_stderr(
326326
"\
327327
[ERROR] `foo` cannot be published.
328-
The registry `crates-io` is not listed in the `publish` value in Cargo.toml.
328+
`publish` is set to `false` or an empty list in Cargo.toml and prevents publishing.
329329
",
330330
)
331331
.run();
@@ -684,7 +684,7 @@ fn publish_empty_list() {
684684
.with_stderr(
685685
"\
686686
[ERROR] `foo` cannot be published.
687-
The registry `alternative` is not listed in the `publish` value in Cargo.toml.
687+
`publish` is set to `false` or an empty list in Cargo.toml and prevents publishing.
688688
",
689689
)
690690
.run();

0 commit comments

Comments
 (0)