diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ngit_login.rs | 2 | ||||
| -rw-r--r-- | tests/ngit_send.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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::*; | |||
| 5 | 5 | ||
| 6 | static EXPECTED_NSEC_PROMPT: &str = "nsec"; | 6 | static EXPECTED_NSEC_PROMPT: &str = "nsec"; |
| 7 | 7 | ||
| 8 | fn show_first_time_login_choices(p: &mut CliTester) -> Result<CliTesterChoicePrompt> { | 8 | fn show_first_time_login_choices(p: &'_ mut CliTester) -> Result<CliTesterChoicePrompt<'_>> { |
| 9 | p.expect_choice( | 9 | p.expect_choice( |
| 10 | "login to nostr", | 10 | "login to nostr", |
| 11 | vec![ | 11 | 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 { | |||
| 56 | )) | 56 | )) |
| 57 | } | 57 | } |
| 58 | 58 | ||
| 59 | fn expect_confirm_prompt(p: &mut CliTester) -> Result<CliTesterConfirmPrompt> { | 59 | fn expect_confirm_prompt(p: &'_ mut CliTester) -> Result<CliTesterConfirmPrompt<'_>> { |
| 60 | p.expect("fetching updates...\r\n")?; | 60 | p.expect("fetching updates...\r\n")?; |
| 61 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates | 61 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates |
| 62 | p.expect("creating proposal from 2 commits:\r\n")?; | 62 | p.expect("creating proposal from 2 commits:\r\n")?; |