diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-17 11:23:44 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-17 11:23:44 +0100 |
| commit | 73480c03e194808bec7cbbf8c2d7064743d03369 (patch) | |
| tree | 1237265b84c6a3c437312ff8e4c7d8e4dab38eec /tests/git_remote_nostr/list.rs | |
| parent | 54f6128f4a7261d2f53a3aaf317f5aeffffed99c (diff) | |
test(remote): fix test to ignore status updates
as changes to status updates has causes many tests to fail
Diffstat (limited to 'tests/git_remote_nostr/list.rs')
| -rw-r--r-- | tests/git_remote_nostr/list.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/git_remote_nostr/list.rs b/tests/git_remote_nostr/list.rs index 0753a24..d173cc7 100644 --- a/tests/git_remote_nostr/list.rs +++ b/tests/git_remote_nostr/list.rs | |||
| @@ -42,6 +42,7 @@ mod without_state_announcement { | |||
| 42 | let mut p = cli_tester_after_fetch(&git_repo)?; | 42 | let mut p = cli_tester_after_fetch(&git_repo)?; |
| 43 | p.send_line("list")?; | 43 | p.send_line("list")?; |
| 44 | p.expect(format!("fetching {} ref list over filesystem...\r\n", source_path).as_str())?; | 44 | p.expect(format!("fetching {} ref list over filesystem...\r\n", source_path).as_str())?; |
| 45 | p.expect("list: connecting...\r\n\r\r\r")?; | ||
| 45 | // println!("{}", p.expect_eventually("\r\n\r\n")?); | 46 | // println!("{}", p.expect_eventually("\r\n\r\n")?); |
| 46 | let res = p.expect_eventually("\r\n\r\n")?; | 47 | let res = p.expect_eventually("\r\n\r\n")?; |
| 47 | p.exit()?; | 48 | p.exit()?; |
| @@ -117,6 +118,7 @@ mod with_state_announcement { | |||
| 117 | p.expect( | 118 | p.expect( |
| 118 | format!("fetching {} ref list over filesystem...\r\n", source_path).as_str(), | 119 | format!("fetching {} ref list over filesystem...\r\n", source_path).as_str(), |
| 119 | )?; | 120 | )?; |
| 121 | p.expect("list: connecting...\r\n\r\r\r")?; | ||
| 120 | // println!("{}", p.expect_eventually("\r\n\r\n")?); | 122 | // println!("{}", p.expect_eventually("\r\n\r\n")?); |
| 121 | let res = p.expect_eventually("\r\n\r\n")?; | 123 | let res = p.expect_eventually("\r\n\r\n")?; |
| 122 | p.exit()?; | 124 | p.exit()?; |
| @@ -200,6 +202,7 @@ mod with_state_announcement { | |||
| 200 | p.expect( | 202 | p.expect( |
| 201 | format!("fetching {} ref list over filesystem...\r\n", source_path).as_str(), | 203 | format!("fetching {} ref list over filesystem...\r\n", source_path).as_str(), |
| 202 | )?; | 204 | )?; |
| 205 | p.expect("list: connecting...\r\n\r\r\r")?; | ||
| 203 | p.expect( | 206 | p.expect( |
| 204 | format!( | 207 | format!( |
| 205 | "WARNING: {} refs/heads/main is out of sync with nostr \r\n", | 208 | "WARNING: {} refs/heads/main is out of sync with nostr \r\n", |
| @@ -283,6 +286,7 @@ mod with_state_announcement { | |||
| 283 | p.expect( | 286 | p.expect( |
| 284 | format!("fetching {} ref list over filesystem...\r\n", source_path).as_str(), | 287 | format!("fetching {} ref list over filesystem...\r\n", source_path).as_str(), |
| 285 | )?; | 288 | )?; |
| 289 | p.expect("list: connecting...\r\n\r\r\r")?; | ||
| 286 | // println!("{}", p.expect_eventually("\r\n\r\n")?); | 290 | // println!("{}", p.expect_eventually("\r\n\r\n")?); |
| 287 | let res = p.expect_eventually("\r\n\r\n")?; | 291 | let res = p.expect_eventually("\r\n\r\n")?; |
| 288 | 292 | ||