X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_pquery.c;h=49cf998a137eafeb905592fc857a7510afb5682f;hp=bac5c1645814982e1d6e1d0ce3780d4c803988d4;hb=5242cb5a8634bfa38b9333ff7f903e718ac6e292;hpb=7b27a8f378d73a86e8ff5e4fa3285117362481c5 diff --git a/test/test_pquery.c b/test/test_pquery.c index bac5c16..49cf998 100644 --- a/test/test_pquery.c +++ b/test/test_pquery.c @@ -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;