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/cscodec-ext8.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/cscodec-ext8.c')
-rw-r--r-- | test/cscodec-ext8.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/cscodec-ext8.c b/test/cscodec-ext8.c index 4d0c8b4..7fd5a2f 100644 --- a/test/cscodec-ext8.c +++ b/test/cscodec-ext8.c @@ -2,7 +2,6 @@ #include <stdio.h> #include <string.h> -#include "charset/charset.h" #include <parserutils/charset/codec.h> #include "utils/utils.h" @@ -48,9 +47,6 @@ int main(int argc, char **argv) return 1; } - assert(parserutils_charset_initialise(argv[1], myrealloc, NULL) == - PARSERUTILS_OK); - assert(parserutils_charset_codec_create("NATS-SEFI-ADD", myrealloc, NULL, &codec) == PARSERUTILS_BADENCODING); @@ -92,9 +88,6 @@ int main(int argc, char **argv) parserutils_charset_codec_destroy(ctx.codec); - assert(parserutils_charset_finalise(myrealloc, NULL) == - PARSERUTILS_OK); - printf("PASS\n"); return 0; |