(trunk libT) sync unit tests to iconv() usage

This commit is contained in:
Charles Kerr 2010-07-07 17:08:38 +00:00
parent 91d8cbc383
commit 082384fc81
1 changed files with 1 additions and 1 deletions

View File

@ -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 );