patch 9.1.1261: No test for 'pummaxwidth' non-truncated items
Problem: No test for 'pummaxwidth' non-truncated items (after v9.1.1250) Solution: Add shorter items to Test_pum_maxwidth_multibyte() (zeertzjq). closes: #17007 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
649a237bc8
commit
c6336acfe3
@ -1,8 +1,8 @@
|
||||
|1+0&#ffffff0|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_> @44
|
||||
|1+0#0000001#e0e0e08|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_| | +0#4040ff13#ffffff0@43
|
||||
|一*0#0000001#ffd7ff255|二|三|四|五|六|七|八|九|十| +&@10| +0#4040ff13#ffffff0@43
|
||||
|~| @73
|
||||
|~| @73
|
||||
|a+0#0000001#ffd7ff255|b|c|d|e|f|g|h|i|j| @20| +0#4040ff13#ffffff0@43
|
||||
|上*0#0000001#ffd7ff255|下|左|右| +&@22| +0#4040ff13#ffffff0@43
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
|1+0&#ffffff0|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_> @44
|
||||
|1+0#0000001#e0e0e08|2|3|4|5|6|7|.@2| +0#4040ff13#ffffff0@64
|
||||
|一*0#0000001#ffd7ff255|二|三| +&|.@2| +0#4040ff13#ffffff0@64
|
||||
|~| @73
|
||||
|~| @73
|
||||
|a+0#0000001#ffd7ff255|b|c|d|e|f|g|h|i|j| +0#4040ff13#ffffff0@64
|
||||
|上*0#0000001#ffd7ff255|下|左|右| +&@1| +0#4040ff13#ffffff0@64
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
| +0&#ffffff0@43> |_|9|8|7|6|5|4|3|2|1|_|9|8|7|6|5|4|3|2|1|_|9|8|7|6|5|4|3|2|1
|
||||
| +0#4040ff13&@64|.+0#0000001#e0e0e08@2|7|6|5|4|3|2|1
|
||||
| +0#4040ff13#ffffff0@64|.+0#0000001#ffd7ff255@2| |三*&|二|一
|
||||
| +0#4040ff13#ffffff0@64|j+0#0000001#ffd7ff255|i|h|g|f|e|d|c|b|a
|
||||
| +0#4040ff13#ffffff0@64| +0#0000001#ffd7ff255@1|右*&|左|下|上
|
||||
| +0#4040ff13#ffffff0@73|~
|
||||
| @73|~
|
||||
| @73|~
|
||||
| @73|~
|
||||
| @73|~
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
|1+0&#ffffff0|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_|1|2|3|4|5|6|7|8|9|_> @44
|
||||
|1+0#0000001#e0e0e08|2| +0#4040ff13#ffffff0@72
|
||||
|一*0#0000001#ffd7ff255| +0#4040ff13#ffffff0@72
|
||||
|~| @73
|
||||
|~| @73
|
||||
|a+0#0000001#ffd7ff255|b| +0#4040ff13#ffffff0@72
|
||||
|上*0#0000001#ffd7ff255| +0#4040ff13#ffffff0@72
|
||||
|~| @73
|
||||
|~| @73
|
||||
|~| @73
|
||||
|
||||
@ -2036,6 +2036,8 @@ func Test_pum_maxwidth_multibyte()
|
||||
return [
|
||||
\ #{word: "123456789_123456789_123456789_"},
|
||||
\ #{word: "一二三四五六七八九十"},
|
||||
\ #{word: "abcdefghij"},
|
||||
\ #{word: "上下左右"},
|
||||
\ ]
|
||||
endfunc
|
||||
set omnifunc=Omni_test
|
||||
|
||||
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1261,
|
||||
/**/
|
||||
1260,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user