fix types so tests compile.

This commit is contained in:
fiatjaf
2025-05-12 09:34:25 -03:00
parent f4855dba4e
commit 7b1f4ae49a
17 changed files with 64 additions and 71 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ func TestBlugeFlow(t *testing.T) {
{
n := 0
for range bl.QueryEvents(nostr.Filter{Search: "good"}) {
for range bl.QueryEvents(nostr.Filter{Search: "good"}, 400) {
n++
}
assert.Equal(t, 3, n)
@@ -58,7 +58,7 @@ func TestBlugeFlow(t *testing.T) {
{
n := 0
for res := range bl.QueryEvents(nostr.Filter{Search: "good"}) {
for res := range bl.QueryEvents(nostr.Filter{Search: "good"}, 400) {
n++
assert.Equal(t, res.Content, "good night")
assert.Equal(t,