tests on root and khatru working.

This commit is contained in:
fiatjaf
2025-04-17 20:30:44 -03:00
parent 1c56906506
commit 32efaa7c58
13 changed files with 56 additions and 74 deletions

View File

@@ -12,9 +12,9 @@ func TestEOSEMadness(t *testing.T) {
rl := mustRelayConnect(t, RELAY)
defer rl.Close()
sub, err := rl.Subscribe(context.Background(), Filters{
{Kinds: []uint16{KindTextNote}, Limit: 2},
})
sub, err := rl.Subscribe(context.Background(), Filter{
Kinds: []uint16{KindTextNote}, Limit: 2,
}, SubscriptionOptions{})
assert.NoError(t, err)
timeout := time.After(3 * time.Second)