X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_cql2ccl.c;h=c050f7e2a84c1e86c57247f62fd6ca07bf2f0f1e;hp=e9ebe38d0bb8b1ed741c4ad43079d925956da8f4;hb=7a64f4dd174fc2ce822202423f159e487cbfc736;hpb=b8c32e563453793ed92e311d4585d54fc77fbb04 diff --git a/test/test_cql2ccl.c b/test/test_cql2ccl.c index e9ebe38..c050f7e 100644 --- a/test/test_cql2ccl.c +++ b/test/test_cql2ccl.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -141,6 +141,8 @@ static void tst(void) YAZ_CHECK(tst_query("title = \"x y\"", "title=\"x y\"")); YAZ_CHECK(tst_query("title = x y", "title=\"x\" \"y\"")); + YAZ_CHECK(tst_query("title = x y z", "title=\"x\" \"y\" \"z\"")); + YAZ_CHECK(tst_query("dc.title=encyclopedia prox dinosaurs", "(dc.title=\"encyclopedia\") % (\"dinosaurs\")")); YAZ_CHECK(tst_query("dc.title=encyclopedia prox/distance<=3 dinosaurs",