X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_pquery.c;h=fea0efa21d4bd6a2f0d2420be8e4c1a5603293f9;hp=bac5c1645814982e1d6e1d0ce3780d4c803988d4;hb=e8117f5e26e3eed1f7b48e1dcb2ce8c12a31fd52;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/test/test_pquery.c b/test/test_pquery.c index bac5c16..fea0efa 100644 --- a/test/test_pquery.c +++ b/test/test_pquery.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -42,11 +42,11 @@ int expect_pqf(const char *pqf, const char *expect_pqf, int expect_error) else if (expect_error == YAZ_PQF_ERROR_NONE) { WRBUF wrbuf = wrbuf_alloc(); - + if (wrbuf) { yaz_rpnquery_to_wrbuf(wrbuf, rpn); - + if (!strcmp(wrbuf_cstr(wrbuf), expect_pqf)) { res = 1;