X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_ccl.c;h=e16752ebe8237dc26b8b93c202f0ab3a8c542c8c;hp=c4fdf792e637dd51e6e784e1dc7d15f7a1649520;hb=834902a1b9db396bd9aae10fe0ae725535afecfe;hpb=fcfd9a074ff29ffdd52e5eb0ee348fb74f0a0d17 diff --git a/test/test_ccl.c b/test/test_ccl.c index c4fdf79..e16752e 100644 --- a/test/test_ccl.c +++ b/test/test_ccl.c @@ -343,7 +343,18 @@ void tst1(int pass) YAZ_CHECK(tst_ccl_query(bibset, "a@and", "@attr 4=2 @attr 1=1016 a@and ")); - + + YAZ_CHECK(tst_ccl_query(bibset, "}", + "@attr 4=2 @attr 1=1016 } ")); + + YAZ_CHECK(tst_ccl_query(bibset, "{", + "@attr 4=2 @attr 1=1016 \"{\" ")); + + YAZ_CHECK(tst_ccl_query(bibset, "\"a b c\"", + "@attr 4=1 @attr 1=1016 \"a b c\" ")); + + YAZ_CHECK(tst_ccl_query(bibset, "\"a b c \"", + "@attr 4=1 @attr 1=1016 \"a b c \" ")); ccl_qual_rm(&bibset); }