Skip to content

Commit

Permalink
Remove unnecessary format!
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jul 26, 2021
1 parent 8f1f0e4 commit 30ff842
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/testsuite/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 30ff842

Please sign in to comment.