diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2010-12-04 15:28:50 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2010-12-04 15:28:50 +0000 |
commit | 2fee3114b46682b220c73aae7c4f2466dedb81ff (patch) | |
tree | d9dc3de599ec43fdf5cf70b59ac1fd049672914e /test/filter.c | |
parent | d485dbd52ebc6a911a5ddcf6891212fccb82e8c0 (diff) | |
download | libparserutils-2fee3114b46682b220c73aae7c4f2466dedb81ff.tar.gz libparserutils-2fee3114b46682b220c73aae7c4f2466dedb81ff.tar.bz2 |
Remove init/final code and turn aliases into static data structure. r=vince
svn path=/trunk/libparserutils/; revision=10961
Diffstat (limited to 'test/filter.c')
-rw-r--r-- | test/filter.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/filter.c b/test/filter.c index 044a772..c66b684 100644 --- a/test/filter.c +++ b/test/filter.c @@ -32,10 +32,6 @@ int main(int argc, char **argv) return 1; } - /* Initialise library */ - assert(parserutils_initialise(argv[1], myrealloc, NULL) == - PARSERUTILS_OK); - /* Create input filter */ assert(parserutils_filter_create("UTF-8", myrealloc, NULL, &input) == PARSERUTILS_OK); @@ -349,8 +345,6 @@ int main(int argc, char **argv) /* Clean up */ parserutils_filter_destroy(input); - assert(parserutils_finalise(myrealloc, NULL) == PARSERUTILS_OK); - printf("PASS\n"); return 0; |