configure produces config.h
[idzebra-moved-to-github.git] / test / xslt / dom1.c
index e22dbfd..3a5d015 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1995-2008 Index Data
+   Copyright (C) 1994-2011 Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <yaz/test.h>
 #include "testlib.h"
 
@@ -131,10 +134,10 @@ void tst(int argc, char **argv)
     YAZ_CHECK_EQ(tl_fetch_first_compare(
                      zh, "zebra::snippet", yaz_oid_recsyn_xml,
                      "<record xmlns=\"http://www.indexdata.com/zebra/\">\n"
-                     "  <snippet name=\"any\" type=\"w\">"
+                     "  <snippet name=\"any\" type=\"w\" fields=\"title\">"
                      "Selected Prose of <s>Oscar</s> Wilde"
                      "</snippet>\n"
-                     "  <snippet name=\"any\" type=\"w\">"
+                     "  <snippet name=\"any\" type=\"w\" fields=\"creator\">"
                      "Wilde, <s>Oscar</s>, 1854-1900"
                      "</snippet>\n"
                      "</record>"),
@@ -151,6 +154,7 @@ TL_MAIN
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab