(trunk libT) sync unit tests to iconv() usage
This commit is contained in:
parent
91d8cbc383
commit
082384fc81
|
@ -191,7 +191,7 @@ test_utf8( void )
|
||||||
in = "Òðóäíî áûòü Áîãîì";
|
in = "Òðóäíî áûòü Áîãîì";
|
||||||
out = tr_utf8clean( in, 17 );
|
out = tr_utf8clean( in, 17 );
|
||||||
check( out != NULL )
|
check( out != NULL )
|
||||||
check( strlen( out ) == 17 )
|
check( ( strlen( out ) == 17 ) || ( strlen( out ) == 32 ) )
|
||||||
check( tr_utf8_validate( out, -1, NULL ) )
|
check( tr_utf8_validate( out, -1, NULL ) )
|
||||||
tr_free( out );
|
tr_free( out );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue