Skip to content

Commit 90c7d3b

Browse files
committed
update the publish_with_missing_readme test with new warning
1 parent 560a3bf commit 90c7d3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testsuite/publish.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,6 +1756,9 @@ fn publish_with_missing_readme() {
17561756
.with_stderr(&format!(
17571757
"\
17581758
[UPDATING] [..]
1759+
[WARNING] readme `foo.md` does not appear to exist (relative to `[..]/foo`).
1760+
Please update the readme setting in the manifest at `[..]/foo/Cargo.toml`
1761+
This may become a hard error in the future.
17591762
[PACKAGING] foo v0.1.0 [..]
17601763
[PACKAGED] [..] files, [..] ([..] compressed)
17611764
[UPLOADING] foo v0.1.0 [..]

0 commit comments

Comments
 (0)