summaryrefslogtreecommitdiff
path: root/test/cscodec-utf16.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-05 07:18:28 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-05 07:18:28 +0000
commit5a005ad7b6d8c7b8c29c25b6ec85a6ad2a020c88 (patch)
treecfa7955497f390c47b922c6ef50e60d2ea8d73d2 /test/cscodec-utf16.c
parent61ae94eba1c6de192db37c22668ca557237a1c95 (diff)
downloadlibparserutils-5a005ad7b6d8c7b8c29c25b6ec85a6ad2a020c88.tar.gz
libparserutils-5a005ad7b6d8c7b8c29c25b6ec85a6ad2a020c88.tar.bz2
Fix test drivers & CP1252 test data
svn path=/trunk/libparserutils/; revision=5239
Diffstat (limited to 'test/cscodec-utf16.c')
-rw-r--r--test/cscodec-utf16.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cscodec-utf16.c b/test/cscodec-utf16.c
index ee74662..f342e6c 100644
--- a/test/cscodec-utf16.c
+++ b/test/cscodec-utf16.c
@@ -296,6 +296,7 @@ void run_test(line_ctx *ctx)
assert(srclen == 0);
assert(ctx->buf + ctx->bufused == psrc);
assert(dest + (ctx->bufused * 4 - destlen) == pdest);
+ assert(ctx->bufused * 4 - destlen == ctx->expused);
}
printf("%d: Read '", ++testnum);