From 092b9606ff2b721d858a5c7b2b27a2f9942b4bc4 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 16 Jul 2025 10:10:41 +0100 Subject: chore: nix flake update required running: `cargo fix --allow-dirty --allow-staged` `cargo clippy --fix --allow-dirty -- -D warnings` to fix problems and then manually fixing some too --- tests/ngit_list.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'tests/ngit_list.rs') diff --git a/tests/ngit_list.rs b/tests/ngit_list.rs index bb742cf..c8f761a 100644 --- a/tests/ngit_list.rs +++ b/tests/ngit_list.rs @@ -217,8 +217,7 @@ mod when_main_branch_is_uptodate { ])?; c.succeeds_with(0, true, None)?; p.expect(format!( - "checked out proposal as 'pr/{}(", - FEATURE_BRANCH_NAME_1, + "checked out proposal as 'pr/{FEATURE_BRANCH_NAME_1}(", ))?; p.expect_end_eventually_with(")' branch\r\n")?; @@ -334,8 +333,7 @@ mod when_main_branch_is_uptodate { ])?; c.succeeds_with(0, true, Some(0))?; p.expect(format!( - "checked out proposal as 'pr/{}(", - FEATURE_BRANCH_NAME_3, + "checked out proposal as 'pr/{FEATURE_BRANCH_NAME_3}(", ))?; p.expect_end_eventually_with(")' branch\r\n")?; @@ -530,8 +528,7 @@ mod when_main_branch_is_uptodate { ])?; c.succeeds_with(0, true, Some(0))?; p.expect(format!( - "checked out proposal as 'pr/{}(", - FEATURE_BRANCH_NAME_4, + "checked out proposal as 'pr/{FEATURE_BRANCH_NAME_4}(", ))?; p.expect_end_eventually_with(")' branch\r\n")?; @@ -756,8 +753,7 @@ mod when_main_branch_is_uptodate { ])?; c.succeeds_with(0, true, Some(0))?; p.expect(format!( - "checked out proposal as 'pr/{}(", - FEATURE_BRANCH_NAME_1, + "checked out proposal as 'pr/{FEATURE_BRANCH_NAME_1}(", ))?; p.expect_end_eventually_with(")' branch\r\n")?; -- cgit v1.2.3