X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_rpn2solr.c;h=62c2d510c06393e1b2d7b35759dae5d8dd6ff151;hp=72be5d746ca78e1dd710e1477b4cb1d5bed389a2;hb=f00caf7c3f8e70278f6ada47a1f5da79a8ba6858;hpb=406ec3b354a9260bf09cc80c540d3d19845dc915 diff --git a/test/test_rpn2solr.c b/test/test_rpn2solr.c index 72be5d7..62c2d51 100644 --- a/test/test_rpn2solr.c +++ b/test/test_rpn2solr.c @@ -57,6 +57,7 @@ static void tst1(void) YAZ_CHECK(compare(ct, "@or a @and b c", "a OR (b AND c)")); YAZ_CHECK(compare(ct, "abc", "abc")); YAZ_CHECK(compare(ct, "\"a b c\"", "\"a b c\"")); + YAZ_CHECK(compare(ct, "\"\"", "\"\"")); YAZ_CHECK(compare(ct, "@not a b", "a AND NOT b")); YAZ_CHECK(compare(ct, "@and @or a b c", "(a OR b) AND c")); YAZ_CHECK(compare(ct, "@and a b", "a AND b"));