From 30ff8424c99c65fc22de5e30fb5a0bc33d84d6cd Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 26 Jul 2021 12:56:53 -0700 Subject: [PATCH] Remove unnecessary format! --- tests/testsuite/publish.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/testsuite/publish.rs b/tests/testsuite/publish.rs index 7f364dfeed1..ee427435dca 100644 --- a/tests/testsuite/publish.rs +++ b/tests/testsuite/publish.rs @@ -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();