Remove unnecessary format!

This commit is contained in:
Eric Huss 2021-07-26 12:56:53 -07:00
parent 8f1f0e40fd
commit 30ff8424c9

View file

@ -1773,29 +1773,29 @@ fn in_workspace() {
.build();
p.cargo("publish --no-verify --token sekrit -p foo")
.with_stderr(&format!(
.with_stderr(
"\
[UPDATING] [..]
[WARNING] manifest has no documentation, [..]
See [..]
[PACKAGING] foo v0.0.1 ([CWD]/foo)
[UPLOADING] foo v0.0.1 ([CWD]/foo)
"
))
",
)
.run();
validate_upload_foo();
p.cargo("publish --no-verify --token sekrit -p bar")
.with_stderr(&format!(
.with_stderr(
"\
[UPDATING] [..]
[WARNING] manifest has no documentation, [..]
See [..]
[PACKAGING] bar v0.0.1 ([CWD]/bar)
[UPLOADING] bar v0.0.1 ([CWD]/bar)
"
))
",
)
.run();
validate_upload_bar();