projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow wcwidth to return -1 in some more cases. Fixes test failure on Solaris 10.
[gnulib.git]
/
tests
/
test-wcwidth.c
diff --git
a/tests/test-wcwidth.c
b/tests/test-wcwidth.c
index
50c0040
..
0c3c004
100644
(file)
--- a/
tests/test-wcwidth.c
+++ b/
tests/test-wcwidth.c
@@
-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);