upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/git_remote_nostr/list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/git_remote_nostr/list.rs')
-rw-r--r--tests/git_remote_nostr/list.rs4
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