Skip to content

Commit

Permalink
test_parser: Add tests for empty keywordsets
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jun 2, 2024
1 parent b5411e7 commit f6a8a42
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ int main() {

keywordset_free(tags);

tags = keywordset_new("x");
test_expression(tags, "bla", 0, 0);
test_expression(tags, "!bla", 0, 1);
keywordset_free(tags);

static char text[8002];
text[8001] = 0;
memset(text, '(', 8000);
Expand Down

0 comments on commit f6a8a42

Please sign in to comment.