upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-08-01 15:55:01 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2025-08-01 15:55:01 +0100
commit056c400c5eb6cd8b105f38eea43922f71b0204dc (patch)
treea0af17993e72584dee6a2cf4e4781f90736902d2 /tests
parenta23efd79edb59be0e9c84f1fbeea45664dd63515 (diff)
fix: use new gitworkshop.dev url format
where just the nevent will do
Diffstat (limited to 'tests')
-rw-r--r--tests/ngit_list.rs2
-rw-r--r--tests/ngit_send.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ngit_list.rs b/tests/ngit_list.rs
index 0547ad4..39385d6 100644
--- a/tests/ngit_list.rs
+++ b/tests/ngit_list.rs
@@ -79,7 +79,7 @@ mod cannot_find_repo_event {
79 test_repo.populate()?; 79 test_repo.populate()?;
80 let mut p = CliTester::new_from_dir(&test_repo.dir, ["list"]); 80 let mut p = CliTester::new_from_dir(&test_repo.dir, ["list"]);
81 p.expect( 81 p.expect(
82 "hint: https://gitworkshop.dev/repos lists repositories and their nostr address\r\n", 82 "hint: https://gitworkshop.dev/search lists repositories and their nostr address\r\n",
83 )?; 83 )?;
84 if invalid_input { 84 if invalid_input {
85 let mut input = p.expect_input("nostr repository")?; 85 let mut input = p.expect_input("nostr repository")?;
diff --git a/tests/ngit_send.rs b/tests/ngit_send.rs
index 9a46469..ec72667 100644
--- a/tests/ngit_send.rs
+++ b/tests/ngit_send.rs
@@ -158,7 +158,7 @@ fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<()
158} 158}
159 159
160fn expect_msgs_after(p: &mut CliTester) -> Result<()> { 160fn expect_msgs_after(p: &mut CliTester) -> Result<()> {
161 p.expect_after_whitespace("view in gitworkshop.dev: https://gitworkshop.dev/repo")?; 161 p.expect_after_whitespace("view in gitworkshop.dev: https://gitworkshop.dev/")?;
162 p.expect_eventually("\r\n")?; 162 p.expect_eventually("\r\n")?;
163 p.expect("view in another client: https://njump.me/")?; 163 p.expect("view in another client: https://njump.me/")?;
164 p.expect_eventually("\r\n")?; 164 p.expect_eventually("\r\n")?;