From df1660b1b78b5881c64c6fadd4ae12c8c01c6684 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 11 Sep 2024 12:52:46 +0100 Subject: refactor: fix fmt and clippy issues which potentially were only identified when a dependancy was updated --- tests/git_remote_nostr/fetch.rs | 1 - tests/git_remote_nostr/list.rs | 1 - tests/ngit/list.rs | 8 ++++---- 3 files changed, 4 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/git_remote_nostr/fetch.rs b/tests/git_remote_nostr/fetch.rs index 9ae17d8..b7415b5 100644 --- a/tests/git_remote_nostr/fetch.rs +++ b/tests/git_remote_nostr/fetch.rs @@ -1,4 +1,3 @@ - use super::*; #[tokio::test] diff --git a/tests/git_remote_nostr/list.rs b/tests/git_remote_nostr/list.rs index 1b12bbd..3858ece 100644 --- a/tests/git_remote_nostr/list.rs +++ b/tests/git_remote_nostr/list.rs @@ -1,4 +1,3 @@ - use super::*; mod without_state_announcement { diff --git a/tests/ngit/list.rs b/tests/ngit/list.rs index c145fa4..26cf717 100644 --- a/tests/ngit/list.rs +++ b/tests/ngit/list.rs @@ -196,7 +196,7 @@ mod when_main_branch_is_uptodate { ], )?; c.succeeds_with(0, false, None)?; - p.expect(&format!( + p.expect(format!( "checked out proposal as 'pr/{}(", FEATURE_BRANCH_NAME_1, ))?; @@ -318,7 +318,7 @@ mod when_main_branch_is_uptodate { ], )?; c.succeeds_with(0, false, Some(0))?; - p.expect(&format!( + p.expect(format!( "checked out proposal as 'pr/{}(", FEATURE_BRANCH_NAME_3, ))?; @@ -525,7 +525,7 @@ mod when_main_branch_is_uptodate { ], )?; c.succeeds_with(0, false, Some(0))?; - p.expect(&format!( + p.expect(format!( "checked out proposal as 'pr/{}(", FEATURE_BRANCH_NAME_4, ))?; @@ -772,7 +772,7 @@ mod when_main_branch_is_uptodate { ], )?; c.succeeds_with(0, false, Some(0))?; - p.expect(&format!( + p.expect(format!( "checked out proposal as 'pr/{}(", FEATURE_BRANCH_NAME_1, ))?; -- cgit v1.2.3