]> git.draconx.ca Git - dxcommon.git/commit
help_print_optstring: Test fullwidth/halfwidth character output.
authorNick Bowler <nbowler@draconx.ca>
Thu, 16 Nov 2023 01:04:16 +0000 (20:04 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 16 Nov 2023 01:04:16 +0000 (20:04 -0500)
commit02e6afe4c4956fd667dfefc04e8f129b5b84f709
tree730612e52ae4368a75b780fe965f3e0e576b28f2
parent0ee27791cef1166e467dc0b3eba88656d835ab32
help_print_optstring: Test fullwidth/halfwidth character output.

This function is supposed to support proper alignment with translated
strings possibly containing fullwidth characters, but we have no
test coverage of that aspect whatsoever.

Let's try to have at least some basic tests, which is made a bit
tricky since Autotest/m4sh busts the locale (but we can work around
this problem).
Makefile.am
configure.ac
snippet/test-nls.at [new file with mode: 0644]
t/.gitignore
t/nls/gettext.h [new file with mode: 0644]
t/nls/mbswidth.c [new file with mode: 0644]
t/nls/mbswidth.h [new file with mode: 0644]
tests/functions.at
testsuite.at