Code

store, frontend: Make IS (NOT) NULL an unary operator on expressions.
[sysdb.git] / t / unit / frontend / parser_test.c
index c0cbff8071f41deb146dc84bdce55b60a3633748..7839ee8a42fa4094d1dc3b995933a1b5866ff509 100644 (file)
@@ -348,7 +348,7 @@ START_TEST(test_parse_matcher)
                /* NULL; while this is an implementation detail,
                 * IS NULL currently maps to an equality matcher */
                { "attribute[foo] IS NULL",     -1,  MATCHER_ISNULL },
-               { "attribute[foo] IS NOT NULL", -1,  MATCHER_NOT },
+               { "attribute[foo] IS NOT NULL", -1,  MATCHER_ISNNULL },
 
                /* object field matchers */
                { ".last_update < 10s",         -1,  MATCHER_LT },