diff options
Diffstat (limited to 'tests/git_remote_nostr/fetch.rs')
| -rw-r--r-- | tests/git_remote_nostr/fetch.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/git_remote_nostr/fetch.rs b/tests/git_remote_nostr/fetch.rs index b7415b5..066e104 100644 --- a/tests/git_remote_nostr/fetch.rs +++ b/tests/git_remote_nostr/fetch.rs | |||
| @@ -42,7 +42,7 @@ async fn fetch_downloads_speficied_commits_from_git_server() -> Result<()> { | |||
| 42 | p.send_line(format!("fetch {main_commit_id} main").as_str())?; | 42 | p.send_line(format!("fetch {main_commit_id} main").as_str())?; |
| 43 | p.send_line(format!("fetch {vnext_commit_id} vnext").as_str())?; | 43 | p.send_line(format!("fetch {vnext_commit_id} vnext").as_str())?; |
| 44 | p.send_line("")?; | 44 | p.send_line("")?; |
| 45 | p.expect(format!("fetching over filesystem from {source_path}...\r\n").as_str())?; | 45 | p.expect(format!("fetching {source_path} over filesystem...\r\n").as_str())?; |
| 46 | p.expect_eventually_and_print("\r\n")?; | 46 | p.expect_eventually_and_print("\r\n")?; |
| 47 | 47 | ||
| 48 | assert!(git_repo.git_repo.find_commit(main_commit_id).is_ok()); | 48 | assert!(git_repo.git_repo.find_commit(main_commit_id).is_ok()); |
| @@ -108,7 +108,7 @@ mod when_first_git_server_fails_ { | |||
| 108 | let mut p = cli_tester_after_fetch(&git_repo)?; | 108 | let mut p = cli_tester_after_fetch(&git_repo)?; |
| 109 | p.send_line(format!("fetch {main_commit_id} main").as_str())?; | 109 | p.send_line(format!("fetch {main_commit_id} main").as_str())?; |
| 110 | p.send_line("")?; | 110 | p.send_line("")?; |
| 111 | p.expect(format!("fetching over filesystem from {error_path}...\r\n").as_str())?; | 111 | p.expect(format!("fetching {error_path} over filesystem...\r\n").as_str())?; |
| 112 | // not sure why the below isn't appearing | 112 | // not sure why the below isn't appearing |
| 113 | // p.expect(format!("fetching over filesystem from | 113 | // p.expect(format!("fetching over filesystem from |
| 114 | // {source_path}...\r\n").as_str())?; | 114 | // {source_path}...\r\n").as_str())?; |
| @@ -166,7 +166,7 @@ async fn creates_commits_from_open_proposal_with_no_warngins_printed() -> Result | |||
| 166 | let mut p = cli_tester_after_fetch(&git_repo)?; | 166 | let mut p = cli_tester_after_fetch(&git_repo)?; |
| 167 | p.send_line(format!("fetch {proposal_tip} refs/heads/{branch_name}").as_str())?; | 167 | p.send_line(format!("fetch {proposal_tip} refs/heads/{branch_name}").as_str())?; |
| 168 | p.send_line("")?; | 168 | p.send_line("")?; |
| 169 | p.expect(format!("fetching over filesystem from {source_path}...\r\n").as_str())?; | 169 | p.expect(format!("fetching {source_path} over filesystem...\r\n").as_str())?; |
| 170 | // expect no errors | 170 | // expect no errors |
| 171 | p.expect_after_whitespace("\r\n")?; | 171 | p.expect_after_whitespace("\r\n")?; |
| 172 | p.exit()?; | 172 | p.exit()?; |