Skip to content

Commit

Permalink
test_parser: Add (failing) test for '_'
Browse files Browse the repository at this point in the history
Add a test with a keyword containing an underliner. Currently this test
fails.
  • Loading branch information
donald committed Dec 16, 2021
1 parent 874c973 commit 66d0562
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ int main() {
test_expression(tags, "(true | false) & false ", 0, 0);
test_expression(tags, "(true | false) & ( false || false ) & true & x", 1, 0);

keywordset_add(tags, "test test_1");
test_expression(tags, "test", 0, 1);
test_expression(tags, "test_1", 0, 1);

keywordset_free(tags);

static char text[8001];
Expand Down

0 comments on commit 66d0562

Please sign in to comment.