From 8638b321fdff94d034ec912ecd0910b6f564ff04 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 24 Jul 2024 16:37:10 +0100 Subject: refactor: use nip34 kinds from rust-nostr instead of Kind::Custom(u16) as v33 of rust-nostr introduced them --- tests/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/list.rs') diff --git a/tests/list.rs b/tests/list.rs index 6e509ac..ce90ee4 100644 --- a/tests/list.rs +++ b/tests/list.rs @@ -88,7 +88,7 @@ mod cannot_find_repo_event { let mut input = p.expect_input("repository naddr")?; input.succeeds_with( &Coordinate { - kind: nostr::Kind::Custom(REPOSITORY_KIND), + kind: nostr::Kind::GitRepoAnnouncement, public_key: TEST_KEY_1_KEYS.public_key(), identifier: repo_event.identifier().unwrap().to_string(), relays: vec!["ws://localhost:8056".to_string()], -- cgit v1.2.3