vim-patch:9.1.1261: No test for 'pummaxwidth' non-truncated items (#33193)

Problem:  No test for 'pummaxwidth' non-truncated items (after v9.1.1250)
Solution: Add shorter items to Test_pum_maxwidth_multibyte() (zeertzjq).

closes: vim/vim#17007

c6336acfe3
This commit is contained in:
zeertzjq
2025-03-30 21:45:07 +08:00
committed by GitHub
parent 431c037709
commit e4f37481ff
2 changed files with 32 additions and 12 deletions

View File

@@ -2042,6 +2042,8 @@ func Test_pum_maxwidth_multibyte()
return [
\ #{word: "123456789_123456789_123456789_"},
\ #{word: "一二三四五六七八九十"},
\ #{word: "abcdefghij"},
\ #{word: "上下左右"},
\ ]
endfunc
set omnifunc=Omni_test