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:
f9070e3
)
Add test case for cql_sortby_to_sortkeys (sort prefix)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 21 Dec 2011 09:30:33 +0000
(10:30 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 21 Dec 2011 09:30:54 +0000
(10:30 +0100)
test/test_cql2ccl.c
patch
|
blob
|
history
diff --git
a/test/test_cql2ccl.c
b/test/test_cql2ccl.c
index
482e47a
..
e9ebe38
100644
(file)
--- a/
test/test_cql2ccl.c
+++ b/
test/test_cql2ccl.c
@@
-178,6
+178,8
@@
static void tst(void)
"title,,1,0,lowValue"));
YAZ_CHECK(tst_query_s("a sortby title/missingHigh", "\"a\"",
"title,,1,0,highValue"));
+ YAZ_CHECK(tst_query_s("a sortby title/sort.missingHigh", "\"a\"",
+ "title,,1,0,highValue"));
YAZ_CHECK(tst_query_s("a sortby title/bogus", "\"a\"", 0));
YAZ_CHECK(tst_query_s("a sortby dc.year dc.author", "\"a\"",