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-utf8.c | |
parent | d485dbd52ebc6a911a5ddcf6891212fccb82e8c0 (diff) | |
download | libparserutils-2fee3114b46682b220c73aae7c4f2466dedb81ff.tar.gz |
Remove init/final code and turn aliases into static data structure. r=vince
svn path=/trunk/libparserutils/; revision=10961
Diffstat (limited to 'test/cscodec-utf8.c')
-rw-r--r-- | test/cscodec-utf8.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/cscodec-utf8.c b/test/cscodec-utf8.c index 3e18e9e..b0dcb89 100644 --- a/test/cscodec-utf8.c +++ b/test/cscodec-utf8.c @@ -1,7 +1,6 @@ #include <stdio.h> #include <string.h> -#include "charset/charset.h" #include <parserutils/charset/codec.h> #include "utils/utils.h" @@ -46,9 +45,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; |