upleb.uk

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

summaryrefslogtreecommitdiff
path: root/tests/pull.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-03-22 15:51:40 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-03-25 11:46:23 +0000
commit49bc478fffc63a3cad0be194c6c45a868e432691 (patch)
tree69438e9123858aee17828d9e718058797e3583e6 /tests/pull.rs
parent9a450f2ce740da08843a541d230c43194b934f5f (diff)
update tag generation
to reflect changes in rust-nostr
Diffstat (limited to 'tests/pull.rs')
-rw-r--r--tests/pull.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/pull.rs b/tests/pull.rs
index 50dddbf..853f518 100644
--- a/tests/pull.rs
+++ b/tests/pull.rs
@@ -746,7 +746,10 @@ mod when_branch_is_checked_out {
746 vec![ 746 vec![
747 nostr::Filter::default() 747 nostr::Filter::default()
748 .kind(nostr::Kind::Custom(PATCH_KIND)) 748 .kind(nostr::Kind::Custom(PATCH_KIND))
749 .custom_tag(nostr::Alphabet::T, vec!["root"]), 749 .custom_tag(
750 nostr::SingleLetterTag::lowercase(nostr::Alphabet::T),
751 vec!["root"],
752 ),
750 ], 753 ],
751 Some(Duration::from_millis(500)), 754 Some(Duration::from_millis(500)),
752 )?; 755 )?;
@@ -843,7 +846,10 @@ mod when_branch_is_checked_out {
843 vec![ 846 vec![
844 nostr::Filter::default() 847 nostr::Filter::default()
845 .kind(nostr::Kind::Custom(PATCH_KIND)) 848 .kind(nostr::Kind::Custom(PATCH_KIND))
846 .custom_tag(nostr::Alphabet::T, vec!["root"]), 849 .custom_tag(
850 nostr::SingleLetterTag::lowercase(nostr::Alphabet::T),
851 vec!["root"],
852 ),
847 ], 853 ],
848 Some(Duration::from_millis(500)), 854 Some(Duration::from_millis(500)),
849 )?; 855 )?;