X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft16.c;h=7a19e0ce62f44c0701d26aca74ba0a8eb9d3b953;hb=b571d1a1012dfbe07e4a484ea5425c909bbf7120;hp=307030245cacd9b340283fbbc6e1dd71617ba61a;hpb=b9c1a6fcf5c4821d0190efdecbc14ea5d6c96aec;p=idzebra-moved-to-github.git diff --git a/test/api/t16.c b/test/api/t16.c index 3070302..7a19e0c 100644 --- a/test/api/t16.c +++ b/test/api/t16.c @@ -1,4 +1,4 @@ -/* $Id: t16.c,v 1.6 2006-11-23 09:03:51 marc Exp $ +/* $Id: t16.c,v 1.8 2006-11-29 09:01:53 marc Exp $ Copyright (C) 1995-2006 Index Data ApS @@ -86,7 +86,10 @@ static void tst(int argc, char **argv) zint hits; ZEBRA_RES res; const char * zebra_xml_sysno - = "\n"; + = "\n"; + + const char * zebra_xml_meta + = "\n"; const char * zebra_xml_index_title_p = "\n" @@ -118,7 +121,7 @@ static void tst(int argc, char **argv) zebra_xml_sysno), ZEBRA_OK); YAZ_CHECK_EQ(fetch_first_compare(zh, "zebra::meta", VAL_TEXT_XML, - "definitely not this"), ZEBRA_FAIL); + zebra_xml_meta), ZEBRA_OK); YAZ_CHECK_EQ(fetch_first_compare(zh, "zebra::index::title:p", VAL_TEXT_XML,