From 082384fc81b244fd5fc323bf5994c4eb2de95131 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 7 Jul 2010 17:08:38 +0000 Subject: [PATCH] (trunk libT) sync unit tests to iconv() usage --- libtransmission/utils-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/utils-test.c b/libtransmission/utils-test.c index 6948060a7..63302e6e5 100644 --- a/libtransmission/utils-test.c +++ b/libtransmission/utils-test.c @@ -191,7 +191,7 @@ test_utf8( void ) in = "Трудно быть Богом"; out = tr_utf8clean( in, 17 ); check( out != NULL ) - check( strlen( out ) == 17 ) + check( ( strlen( out ) == 17 ) || ( strlen( out ) == 32 ) ) check( tr_utf8_validate( out, -1, NULL ) ) tr_free( out );