mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
tests: fix test of function utf8_strlen_screen on Han char (U+24B62)
This commit is contained in:
@@ -378,8 +378,7 @@ TEST(Utf8, Size)
|
||||
LONGS_EQUAL(1, utf8_strlen_screen ("A"));
|
||||
LONGS_EQUAL(1, utf8_strlen_screen ("ë"));
|
||||
LONGS_EQUAL(1, utf8_strlen_screen ("€"));
|
||||
/* this test does not work on Ubuntu Precise: it returns 2 instead of 1 */
|
||||
/*LONGS_EQUAL(1, utf8_strlen_screen (han_char));*/
|
||||
LONGS_EQUAL(2, utf8_strlen_screen (han_char));
|
||||
LONGS_EQUAL(1, utf8_strlen_screen ("\x7f"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user