Skip to content

Commit

Permalink
test: actually use filter in subscription in filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
jb55 committed Jan 4, 2024
1 parent 5300879 commit f6cb3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)));

Expand Down

0 comments on commit f6cb3f6

Please sign in to comment.