projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfd9a0
)
CCL test: check for terms more special chars
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 20 Sep 2011 09:19:42 +0000
(11:19 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 20 Sep 2011 09:19:42 +0000
(11:19 +0200)
test/test_ccl.c
patch
|
blob
|
history
diff --git
a/test/test_ccl.c
b/test/test_ccl.c
index
c4fdf79
..
55a12f4
100644
(file)
--- 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);
}