mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-08-26 21:51:10 +02:00
feat(event): adding more helpers.
This commit is contained in:
@@ -14,7 +14,7 @@ func TestCount(t *testing.T) {
|
||||
defer rl.Close()
|
||||
|
||||
count, err := rl.Count(context.Background(), Filters{
|
||||
{Kinds: []int{KindContactList}, Tags: TagMap{"p": []string{"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"}}},
|
||||
{Kinds: []int{KindFollowList}, Tags: TagMap{"p": []string{"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"}}},
|
||||
})
|
||||
assert.NoError(t, err)
|
||||
assert.Greater(t, count, int64(0))
|
||||
|
Reference in New Issue
Block a user