From 4a9dcc66ac7be69031a19f6ece0be4642e1f3057 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 17 Oct 2025 15:22:05 +0100 Subject: chore: nix flake update update nix dependancies including hardcoded nightly.rustfmt applied autofixes --- tests/ngit_login.rs | 2 +- tests/ngit_send.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/ngit_login.rs b/tests/ngit_login.rs index 9e708dc..31c6edf 100644 --- a/tests/ngit_login.rs +++ b/tests/ngit_login.rs @@ -5,7 +5,7 @@ use test_utils::*; static EXPECTED_NSEC_PROMPT: &str = "nsec"; -fn show_first_time_login_choices(p: &mut CliTester) -> Result { +fn show_first_time_login_choices(p: &'_ mut CliTester) -> Result> { p.expect_choice( "login to nostr", vec![ diff --git a/tests/ngit_send.rs b/tests/ngit_send.rs index a5bb564..2ae858a 100644 --- a/tests/ngit_send.rs +++ b/tests/ngit_send.rs @@ -56,7 +56,7 @@ mod when_commits_behind_ask_to_proceed { )) } - fn expect_confirm_prompt(p: &mut CliTester) -> Result { + fn expect_confirm_prompt(p: &'_ mut CliTester) -> Result> { p.expect("fetching updates...\r\n")?; p.expect_eventually("\r\n")?; // may be 'no updates' or some updates p.expect("creating proposal from 2 commits:\r\n")?; -- cgit v1.2.3