Skip to content

Commit 30ff842

Browse files
committed
Remove unnecessary format!
1 parent 8f1f0e4 commit 30ff842

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/testsuite/publish.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1773,29 +1773,29 @@ fn in_workspace() {
17731773
.build();
17741774

17751775
p.cargo("publish --no-verify --token sekrit -p foo")
1776-
.with_stderr(&format!(
1776+
.with_stderr(
17771777
"\
17781778
[UPDATING] [..]
17791779
[WARNING] manifest has no documentation, [..]
17801780
See [..]
17811781
[PACKAGING] foo v0.0.1 ([CWD]/foo)
17821782
[UPLOADING] foo v0.0.1 ([CWD]/foo)
1783-
"
1784-
))
1783+
",
1784+
)
17851785
.run();
17861786

17871787
validate_upload_foo();
17881788

17891789
p.cargo("publish --no-verify --token sekrit -p bar")
1790-
.with_stderr(&format!(
1790+
.with_stderr(
17911791
"\
17921792
[UPDATING] [..]
17931793
[WARNING] manifest has no documentation, [..]
17941794
See [..]
17951795
[PACKAGING] bar v0.0.1 ([CWD]/bar)
17961796
[UPLOADING] bar v0.0.1 ([CWD]/bar)
1797-
"
1798-
))
1797+
",
1798+
)
17991799
.run();
18001800

18011801
validate_upload_bar();

0 commit comments

Comments
 (0)