From 176297882639f5e3318ffa4dcc515f081a6e08f4 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 20 Sep 2011 11:19:42 +0200 Subject: [PATCH] CCL test: check for terms more special chars --- test/test_ccl.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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); } -- 1.7.10.4