projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b7d34
)
Allow wcwidth to return -1 in some more cases. Fixes test failure on Solaris 10.
author
Bruno Haible
<bruno@clisp.org>
Sun, 21 Oct 2007 23:35:10 +0000
(
01:35
+0200)
committer
Bruno Haible
<bruno@clisp.org>
Sun, 21 Oct 2007 23:35:10 +0000
(
01:35
+0200)
tests/test-wcwidth.c
patch
|
blob
|
history
diff --git
a/tests/test-wcwidth.c
b/tests/test-wcwidth.c
index 50c004006fe79fa3073ec7319e879fdcda8f6624..0c3c0047bf045d9f0e0708568aba38289adc9fea 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);