mirror of
https://github.com/transmission/transmission
synced 2025-02-22 14:10:34 +00:00
(trunk libT) sync unit tests to iconv() usage
This commit is contained in:
parent
91d8cbc383
commit
082384fc81
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue