X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_ccl.c;h=42ec35eaa638df8af7d67a509b84f42689b78945;hb=ab2649ca7089099e5f163e93ce90edb5fbfbfa56;hp=718943a77a7dd07f132e5ece34a7b1780cc443a6;hpb=3add35fb1972e98b5f8922bd1c6f1985b4540009;p=yaz-moved-to-github.git diff --git a/test/test_ccl.c b/test/test_ccl.c index 718943a..42ec35e 100644 --- a/test/test_ccl.c +++ b/test/test_ccl.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 @@ -264,6 +264,8 @@ void tst1(int pass) YAZ_CHECK(tst_ccl_query(bibset, "date=1980", "@attr 2=3 1980 ")); + YAZ_CHECK(tst_ccl_query(bibset, "(date=1980)", + "@attr 2=3 1980 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=234-1990", "@and @attr 2=4 234 @attr 2=2 1990 ")); YAZ_CHECK(tst_ccl_query(bibset, "date=234- 1990",