From: Adam Dickmeiss Date: Tue, 20 Sep 2011 09:19:42 +0000 (+0200) Subject: CCL test: check for terms more special chars X-Git-Tag: v4.2.16~10 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=176297882639f5e3318ffa4dcc515f081a6e08f4 CCL test: check for terms more special chars --- diff --git a/test/test_ccl.c b/test/test_ccl.c index c4fdf79..55a12f4 100644 --- a/test/test_ccl.c +++ b/test/test_ccl.c @@ -343,7 +343,15 @@ 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\" ")); ccl_qual_rm(&bibset); }