upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/git_remote_helper.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/git_remote_helper.rs b/src/git_remote_helper.rs
index 4c6b9fc..6dc00cb 100644
--- a/src/git_remote_helper.rs
+++ b/src/git_remote_helper.rs
@@ -592,7 +592,15 @@ mod tests {
592 nostr_git_url_to_repo_coordinates( 592 nostr_git_url_to_repo_coordinates(
593 "nostr://naddr1qqzxuemfwsqs6amnwvaz7tmwdaejumr0dspzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqvzqqqrhnym0k2qj" 593 "nostr://naddr1qqzxuemfwsqs6amnwvaz7tmwdaejumr0dspzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqvzqqqrhnym0k2qj"
594 )?, 594 )?,
595 HashSet::from([get_model_coordinate(true)]), 595 HashSet::from([Coordinate {
596 identifier: "ngit".to_string(),
597 public_key: PublicKey::parse(
598 "npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr",
599 )
600 .unwrap(),
601 kind: nostr_sdk::Kind::GitRepoAnnouncement,
602 relays: vec!["wss://nos.lol".to_string()], // wont add the slash
603 }]),
596 ); 604 );
597 Ok(()) 605 Ok(())
598 } 606 }