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-utf16.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-utf16.c')
-rw-r--r-- | test/cscodec-utf16.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/cscodec-utf16.c b/test/cscodec-utf16.c index e2f3c52..dd0ebb1 100644 --- a/test/cscodec-utf16.c +++ b/test/cscodec-utf16.c @@ -6,7 +6,6 @@ #include <arpa/inet.h> #include <netinet/in.h> -#include "charset/charset.h" #include <parserutils/charset/codec.h> #include "utils/utils.h" @@ -51,9 +50,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); @@ -101,9 +97,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; |