X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=test%2Fapi%2Ft17.c;h=20cf3f37a88388c67f9bee0aa2bd82bdbbb2be60;hp=1c824421f6c2acfb24a3968543232e8b3caf765f;hb=896b30853daabb6294afe8b0a2f74fa6d6e397d8;hpb=8d18c2ba52018f0a4149abb5e2bd2bb2c75fe14e diff --git a/test/api/t17.c b/test/api/t17.c index 1c82442..20cf3f3 100644 --- a/test/api/t17.c +++ b/test/api/t17.c @@ -1,4 +1,4 @@ -/* $Id: t17.c,v 1.6 2007-11-15 08:53:04 adam Exp $ +/* $Id: t17.c,v 1.7 2007-12-07 14:09:09 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -49,10 +49,10 @@ static void tst(int argc, char **argv) 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_query(zh, "@attr 1=title my", 3)); + + /* phrase search */ + YAZ_CHECK(tl_query(zh, "@attr 1=title {my computer}", 2)); YAZ_CHECK(tl_close_down(zh, zs)); #endif