diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-08-01 16:53:08 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-08-01 16:53:08 +0100 |
| commit | 6cc69fd50ea11a94176734652c0c8753acb1e85b (patch) | |
| tree | 512d99774dfa8272a03ec6b3ede0d51ed8df347c /tests/git_remote_helper.rs | |
| parent | c58ff090c50f642c7aaf48191aeb6aea4cd06a72 (diff) | |
fix(remote): display nostr fetch report
use stderr to write lines that get displayed when run
as a git-remote-helper
Diffstat (limited to 'tests/git_remote_helper.rs')
| -rw-r--r-- | tests/git_remote_helper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git_remote_helper.rs b/tests/git_remote_helper.rs index fda393f..b63345c 100644 --- a/tests/git_remote_helper.rs +++ b/tests/git_remote_helper.rs | |||
| @@ -58,7 +58,7 @@ fn cli_tester(git_repo: &GitTestRepo) -> CliTester { | |||
| 58 | 58 | ||
| 59 | fn cli_tester_after_fetch(git_repo: &GitTestRepo) -> Result<CliTester> { | 59 | fn cli_tester_after_fetch(git_repo: &GitTestRepo) -> Result<CliTester> { |
| 60 | let mut p = cli_tester(git_repo); | 60 | let mut p = cli_tester(git_repo); |
| 61 | p.expect("fetching updates...\r\n")?; | 61 | p.expect("nostr: fetching...\r\n")?; |
| 62 | p.expect_eventually("updates")?; // some updates | 62 | p.expect_eventually("updates")?; // some updates |
| 63 | p.expect_eventually("\r\n")?; | 63 | p.expect_eventually("\r\n")?; |
| 64 | Ok(p) | 64 | Ok(p) |