X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_ccl.c;h=c4fdf792e637dd51e6e784e1dc7d15f7a1649520;hp=bb54243e78d28e9bf99c9b9e376d50accdd3b7b2;hb=fcfd9a074ff29ffdd52e5eb0ee348fb74f0a0d17;hpb=17a23431f99a678761992a2b7ad5cf6a0a2ff60c diff --git a/test/test_ccl.c b/test/test_ccl.c index bb54243..c4fdf79 100644 --- 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? ")); + 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); }