projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CCL: fix leak on syntax errors with split-list
[yaz-moved-to-github.git]
/
test
/
test_ccl.c
diff --git
a/test/test_ccl.c
b/test/test_ccl.c
index
2cfc545
..
5fdb954
100644
(file)
--- a/
test/test_ccl.c
+++ b/
test/test_ccl.c
@@
-463,6
+463,9
@@
void tst1(int pass)
"@or @attr 1=2 b @attr 1=3 b "
"@or @attr 1=2 \"a b\" @attr 1=3 \"a b\" "));
"@or @attr 1=2 b @attr 1=3 b "
"@or @attr 1=2 \"a b\" @attr 1=3 \"a b\" "));
+ YAZ_CHECK(tst_ccl_query(bibset, "s2=a? b", 0));
+ YAZ_CHECK(tst_ccl_query(bibset, "s2=a b?", 0));
+ YAZ_CHECK(tst_ccl_query(bibset, "s2=a b? c", 0));
ccl_qual_rm(&bibset);
}
ccl_qual_rm(&bibset);
}