aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-02-27 00:36:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-02-27 00:36:20 +0000
commit4e9a246966125ec03e481374634f3448a906235b (patch)
tree3463075ed36590f9544236b57311b6b0bd0a8d92 /regress
parent83ad1abc9ffe08ed430d83909fe1297738f5c224 (diff)
downloadmandoc-4e9a246966125ec03e481374634f3448a906235b.tar.gz
mandoc-4e9a246966125ec03e481374634f3448a906235b.tar.zst
mandoc-4e9a246966125ec03e481374634f3448a906235b.zip
Fix this test after the recent Unicode update in OpenBSD base.
The test uses U+07FF NKO TAMAN SIGN because it is the highest code point having a two-byte UTF-8 representation. This character is a new single-width punctuation character in Unicode 11, such that mandoc now does correct horizontal spacing. We already used the code point for the test before it was assigned, which resulted in weird spacing because wcwidth(3) returns -1 for unassigned code points.
Diffstat (limited to 'regress')
-rw-r--r--regress/char/unicode/input.out_utf82
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/char/unicode/input.out_utf8 b/regress/char/unicode/input.out_utf8
index 890835d3..6a18fd6b 100644
--- a/regress/char/unicode/input.out_utf8
+++ b/regress/char/unicode/input.out_utf8
@@ -23,7 +23,7 @@ DDEESSCCRRIIPPTTIIOONN
0xc278 ?x ASCII continuation
U+0080 0xc280 �� lowest two-byte
0xc2c380 ?À high continuation
- U+07FF 0xdfbf ߿߿ highest two-byte
+ U+07FF 0xdfbf ߿߿ highest two-byte
TThhrreeee--bbyyttee rraannggee