diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-16 10:57:39 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-16 10:57:39 +0000 |
| commit | 1d08d2e77dec6dc2c5a8df8776b74f4ba5405e8d (patch) | |
| tree | 5b0c3f82d23616bab6eb01b8f3427acb19e5005c /tests/ngit_send.rs | |
| parent | 504d3632900decb82cbe9280b7aeca5fcd4a51e3 (diff) | |
fix: report wording `fetching` ~> `checking`
to be consistent with the summary version
Diffstat (limited to 'tests/ngit_send.rs')
| -rw-r--r-- | tests/ngit_send.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ngit_send.rs b/tests/ngit_send.rs index eca09d5..67b2209 100644 --- a/tests/ngit_send.rs +++ b/tests/ngit_send.rs | |||
| @@ -80,7 +80,7 @@ mod when_commits_behind_ask_to_proceed { | |||
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | fn expect_confirm_prompt(p: &'_ mut CliTester) -> Result<CliTesterConfirmPrompt<'_>> { | 82 | fn expect_confirm_prompt(p: &'_ mut CliTester) -> Result<CliTesterConfirmPrompt<'_>> { |
| 83 | p.expect("fetching updates...\r\n")?; | 83 | p.expect("Checking nostr relays...\r\n")?; |
| 84 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates | 84 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates |
| 85 | p.expect("creating proposal from 2 commits:\r\n")?; | 85 | p.expect("creating proposal from 2 commits:\r\n")?; |
| 86 | p.expect("fe973a8 add t4.md\r\n")?; | 86 | p.expect("fe973a8 add t4.md\r\n")?; |
| @@ -230,7 +230,7 @@ fn cli_tester_create_proposal(git_repo: &GitTestRepo, include_cover_letter: bool | |||
| 230 | } | 230 | } |
| 231 | 231 | ||
| 232 | fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<()> { | 232 | fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<()> { |
| 233 | p.expect("fetching updates...\r\n")?; | 233 | p.expect("Checking nostr relays...\r\n")?; |
| 234 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates | 234 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates |
| 235 | p.expect("creating proposal from 2 commits:\r\n")?; | 235 | p.expect("creating proposal from 2 commits:\r\n")?; |
| 236 | p.expect("fe973a8 add t4.md\r\n")?; | 236 | p.expect("fe973a8 add t4.md\r\n")?; |
| @@ -1307,7 +1307,7 @@ mod when_range_ommited_prompts_for_selection_defaulting_ahead_of_main { | |||
| 1307 | CliTester::new_from_dir(&git_repo.dir, args) | 1307 | CliTester::new_from_dir(&git_repo.dir, args) |
| 1308 | } | 1308 | } |
| 1309 | fn expect_msgs_first(p: &mut CliTester) -> Result<()> { | 1309 | fn expect_msgs_first(p: &mut CliTester) -> Result<()> { |
| 1310 | p.expect("fetching updates...\r\n")?; | 1310 | p.expect("Checking nostr relays...\r\n")?; |
| 1311 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates | 1311 | p.expect_eventually("\r\n")?; // may be 'no updates' or some updates |
| 1312 | let mut selector = p.expect_multi_select( | 1312 | let mut selector = p.expect_multi_select( |
| 1313 | "select commits for proposal", | 1313 | "select commits for proposal", |
| @@ -1513,7 +1513,7 @@ mod root_proposal_specified_using_in_reply_to_with_range_of_head_2_and_cover_let | |||
| 1513 | CliTester::new_from_dir(&git_repo.dir, args) | 1513 | CliTester::new_from_dir(&git_repo.dir, args) |
| 1514 | } | 1514 | } |
| 1515 | fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<()> { | 1515 | fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<()> { |
| 1516 | p.expect("fetching updates...\r\n")?; | 1516 | p.expect("Checking nostr relays...\r\n")?; |
| 1517 | p.expect("updates: 1 announcement, 1 announcement update, 1 proposal\r\n")?; | 1517 | p.expect("updates: 1 announcement, 1 announcement update, 1 proposal\r\n")?; |
| 1518 | let proposal_root_bech32 = get_pretend_proposal_root_event().id.to_bech32().unwrap(); | 1518 | let proposal_root_bech32 = get_pretend_proposal_root_event().id.to_bech32().unwrap(); |
| 1519 | p.expect(format!( | 1519 | p.expect(format!( |