From: Adam Dickmeiss Date: Wed, 21 Dec 2011 09:30:33 +0000 (+0100) Subject: Add test case for cql_sortby_to_sortkeys (sort prefix) X-Git-Tag: v4.2.24~2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b8c32e563453793ed92e311d4585d54fc77fbb04;p=yaz-moved-to-github.git Add test case for cql_sortby_to_sortkeys (sort prefix) --- diff --git a/test/test_cql2ccl.c b/test/test_cql2ccl.c index 482e47a..e9ebe38 100644 --- 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\"",