summaryrefslogtreecommitdiff
path: root/test/parse-auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse-auto.c')
-rw-r--r--test/parse-auto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parse-auto.c b/test/parse-auto.c
index c15f572..77405c0 100644
--- a/test/parse-auto.c
+++ b/test/parse-auto.c
@@ -5,6 +5,7 @@
#include <stdlib.h>
#include <string.h>
+#include <parserutils/parserutils.h>
#include <libcss/libcss.h>
#include "stylesheet.h"
@@ -110,7 +111,7 @@ int main(int argc, char **argv)
return 1;
}
- assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK);
+ assert(parserutils_initialise(argv[1], myrealloc, NULL) == PARSERUTILS_OK);
ctx.buflen = parse_filesize(argv[2]);
if (ctx.buflen == 0)
@@ -142,7 +143,7 @@ int main(int argc, char **argv)
free(ctx.buf);
- assert(css_finalise(myrealloc, NULL) == CSS_OK);
+ assert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK);
printf("INFO: Counter is %zu\n", counter);
lwc_iterate_strings(printing_lwc_iterator, NULL);