Skip to content

Commit 1e39ba7

Browse files
committed
Check the stderr for publish_allowed
1 parent 0c513e4 commit 1e39ba7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/testsuite/cargo_features.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,20 @@ fn publish_allowed() {
633633
p.cargo("publish")
634634
.replace_crates_io(registry.index_url())
635635
.masquerade_as_nightly_cargo(&["test-dummy-unstable"])
636+
.with_stderr(
637+
"\
638+
[UPDATING] crates.io index
639+
[WARNING] [..]
640+
[..]
641+
[PACKAGING] a v0.0.1 [..]
642+
[VERIFYING] a v0.0.1 [..]
643+
[COMPILING] a v0.0.1 [..]
644+
[FINISHED] [..]
645+
[PACKAGED] [..]
646+
[UPLOADING] a v0.0.1 [..]
647+
[UPDATING] crates.io index
648+
",
649+
)
636650
.run();
637651
}
638652

0 commit comments

Comments
 (0)