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/ngit/list.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/ngit') 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