diff options
Diffstat (limited to 'tests/unit/core/test-utf8.cpp')
-rw-r--r-- | tests/unit/core/test-utf8.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/core/test-utf8.cpp b/tests/unit/core/test-utf8.cpp index 51dde9070..435de65ce 100644 --- a/tests/unit/core/test-utf8.cpp +++ b/tests/unit/core/test-utf8.cpp @@ -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")); } |