1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-11 22:53:59 +00:00

feat: Improve CJK character width calculation, enhance SQLite vacuum test robustness, and update security audit documentation for core cleaning and optimization logic.

This commit is contained in:
Tw93
2025-12-28 21:29:10 +08:00
parent 87feab7df3
commit 44685d3999
3 changed files with 13 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ func TestRuneWidth(t *testing.T) {
{"ASCII letter", 'a', 1},
{"ASCII digit", '5', 1},
{"Chinese character", '中', 2},
{"Japanese hiragana", 'あ', 1}, // BUG: Should be 2, but current implementation returns 1
{"Japanese hiragana", 'あ', 2},
{"Korean hangul", '한', 2},
{"CJK ideograph", '語', 2},
{"Full-width number", '', 2},