From f6cb3f6ef79fc08af8e8b596b11de59e3a1d0bfa Mon Sep 17 00:00:00 2001 From: William Casarin Date: Wed, 3 Jan 2024 18:15:31 -0800 Subject: [PATCH] test: actually use filter in subscription in filter test --- test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.c b/test.c index d7f8400..4d67db7 100644 --- a/test.c +++ b/test.c @@ -1243,7 +1243,7 @@ static void test_subscriptions() assert(ndb_filter_add_int_element(f, 1337)); ndb_filter_end_field(f); - assert((subid = ndb_subscribe(ndb, NULL, 0))); + assert((subid = ndb_subscribe(ndb, f, 1))); assert(ndb_process_event(ndb, ev, strlen(ev)));