mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
Fix utils test; move -Winline to C-only flags (it only harms C++)
This commit is contained in:
@@ -121,7 +121,7 @@ test_utf8 (void)
|
||||
in = "\x92\xE0\xE3\xA4\xAD\xAE \xA1\xEB\xE2\xEC \x81\xAE\xA3\xAE\xAC";
|
||||
out = tr_utf8clean (in, 17);
|
||||
check (out != NULL);
|
||||
check ((strlen (out) == 17) || (strlen (out) == 32));
|
||||
check ((strlen (out) == 17) || (strlen (out) == 33));
|
||||
check (tr_utf8_validate (out, -1, NULL));
|
||||
tr_free (out);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user