diff options
Diffstat (limited to 'test/filter.c')
-rw-r--r-- | test/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/filter.c b/test/filter.c index ff4d1e7..044a772 100644 --- a/test/filter.c +++ b/test/filter.c @@ -37,8 +37,8 @@ int main(int argc, char **argv) PARSERUTILS_OK); /* Create input filter */ - input = parserutils_filter_create("UTF-8", myrealloc, NULL); - assert(input); + assert(parserutils_filter_create("UTF-8", myrealloc, NULL, &input) == + PARSERUTILS_OK); /* Convert filter to UTF-8 encoding */ params.encoding.name = "UTF-8"; |