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
CQL/CCL to RPN. Checks for leading @
[yaz-moved-to-github.git]
/
test
/
test_ccl.c
diff --git
a/test/test_ccl.c
b/test/test_ccl.c
index
bb54243
..
c4fdf79
100644
(file)
--- a/
test/test_ccl.c
+++ b/
test/test_ccl.c
@@
-338,6
+338,13
@@
void tst1(int pass)
"@and @attr 5=1 @attr 4=2 @attr 1=1016 a "
"@attr 4=2 @attr 1=1016 b? "));
"@and @attr 5=1 @attr 4=2 @attr 1=1016 a "
"@attr 4=2 @attr 1=1016 b? "));
+ YAZ_CHECK(tst_ccl_query(bibset, "@and",
+ "@attr 4=2 @attr 1=1016 \\@and "));
+
+ YAZ_CHECK(tst_ccl_query(bibset, "a@and",
+ "@attr 4=2 @attr 1=1016 a@and "));
+
+
ccl_qual_rm(&bibset);
}
ccl_qual_rm(&bibset);
}