aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/repo.c
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2025-11-15 08:36:10 -0500
committerJunio C Hamano <gitster@pobox.com>2025-11-16 16:04:24 -0800
commit878fef8ebf6cf513842de14284ee58f4d92fcef3 (patch)
tree418f3dbe468f9c7e46f9202dad9c7552dab5a738 /builtin/repo.c
parentfd372d9b1a69a01a676398882bbe3840bf51fe72 (diff)
downloadgit-878fef8ebf6cf513842de14284ee58f4d92fcef3.tar.gz
t/unit-tests: add UTF-8 width tests for CJK chars
The file "builtin/repo.c" uses utf8_strwidth() to calculate the display width of UTF-8 characters in a table, but the resulting output is still misaligned. Add test cases for both utf8_strwidth and utf8_strnwidth to verify that they correctly compute the display width for UTF-8 characters. Also updated the build configuration in Makefile and meson.build to include the new test suite in the build process. Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/repo.c')
0 files changed, 0 insertions, 0 deletions