Skip to content

Commit 73d6af5

Browse files
committed
test(package): Show existing alt reg --list behavior
1 parent 5e7b660 commit 73d6af5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/testsuite/package.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6791,6 +6791,15 @@ fn registry_not_in_publish_list() {
67916791
[ERROR] `foo` cannot be packaged.
67926792
The registry `alternative` is not listed in the `package.publish` value in Cargo.toml.
67936793
6794+
"#]])
6795+
.run();
6796+
6797+
p.cargo("package --registry alternative --list")
6798+
.with_status(101)
6799+
.with_stderr_data(str![[r#"
6800+
[ERROR] `foo` cannot be packaged.
6801+
The registry `alternative` is not listed in the `package.publish` value in Cargo.toml.
6802+
67946803
"#]])
67956804
.run();
67966805
}

0 commit comments

Comments
 (0)