Allow wcwidth to return -1 in some more cases. Fixes test failure on Solaris 10.
[gnulib.git] / tests / test-wcwidth.c
index 50c0040..0c3c004 100644 (file)
@@ -65,7 +65,7 @@ main ()
 
       /* Test width of some zero width characters.  */
       ASSERT (wcwidth (0x200B) == 0);
-      ASSERT (wcwidth (0xFEFF) == 0);
+      ASSERT (wcwidth (0xFEFF) <= 0);
 
       /* Test width of some CJK characters.  */
       ASSERT (wcwidth (0x3000) == 2);