X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft17.c;h=1c824421f6c2acfb24a3968543232e8b3caf765f;hb=8d18c2ba52018f0a4149abb5e2bd2bb2c75fe14e;hp=811bc78e562193f9a00bcf7e5b43424c9372c682;hpb=1b13fcc6c6e0820ce52c340155e84ae69a4b18a8;p=idzebra-moved-to-github.git diff --git a/test/api/t17.c b/test/api/t17.c index 811bc78..1c82442 100644 --- a/test/api/t17.c +++ b/test/api/t17.c @@ -1,4 +1,4 @@ -/* $Id: t17.c,v 1.5 2007-11-14 09:51:00 adam Exp $ +/* $Id: t17.c,v 1.6 2007-11-15 08:53:04 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -45,6 +45,15 @@ static void tst(int argc, char **argv) YAZ_CHECK(tl_query(zh, "@attr 1=title computer", 3)); + YAZ_CHECK(tl_query(zh, "@attr 1=title .computer.", 3)); + + YAZ_CHECK(tl_query(zh, "@attr 1=title x", 2)); + +#if 0 + /* does not yet work */ + YAZ_CHECK(tl_query(zh, "@attr 1=title my", 2)); +#endif + YAZ_CHECK(tl_close_down(zh, zs)); #endif }