Skip to content

Commit 8f08dab

Browse files
committed
patch 7.4.932
Problem: test_utf8 has confusing dummy command. Solution: Use a real command instead of a colon.
1 parent cfcd1dd commit 8f08dab

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/testdir/test_utf8.in

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Tests for Unicode manipulations vim: set ft=vim :
33
STARTTEST
44
:so small.vim
55
:set encoding=utf-8
6+
:"
67
:" Visual block Insert adjusts for multi-byte char
78
:new
89
:call setline(1, ["aaa", "あああ", "bbb"])
@@ -11,29 +12,31 @@ STARTTEST
1112
:
1213
:bwipeout!
1314
:$put=r
15+
:"
1416
:" Test for built-in function strchars()
1517
:for str in ["a", "あいa", "A\u20dd", "A\u20dd\u20dd", "\u20dd"]
1618
: $put=strchars(str)
1719
: $put=strchars(str, 0)
1820
: $put=strchars(str, 1)
1921
:endfor
22+
:"
2023
:" Test for customlist completion
2124
:function! CustomComplete1(lead, line, pos)
2225
: return ['', '']
2326
:endfunction
24-
:command -nargs=1 -complete=customlist,CustomComplete1 Test1 :
27+
:command -nargs=1 -complete=customlist,CustomComplete1 Test1 echo
2528
:call feedkeys(":Test1 \<C-L>'\<C-B>$put='\<CR>", 't')
2629
:
2730
:function! CustomComplete2(lead, line, pos)
2831
: return ['あたし', 'あたま', 'あたりめ']
2932
:endfunction
30-
:command -nargs=1 -complete=customlist,CustomComplete2 Test2 :
33+
:command -nargs=1 -complete=customlist,CustomComplete2 Test2 echo
3134
:call feedkeys(":Test2 \<C-L>'\<C-B>$put='\<CR>", 't')
3235
:
3336
:function! CustomComplete3(lead, line, pos)
3437
: return ['Nこ', 'Nん', 'Nぶ']
3538
:endfunction
36-
:command -nargs=1 -complete=customlist,CustomComplete3 Test3 :
39+
:command -nargs=1 -complete=customlist,CustomComplete3 Test3 echo
3740
:call feedkeys(":Test3 \<C-L>'\<C-B>$put='\<CR>", 't')
3841
:
3942
:call garbagecollect(1)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
932,
744746
/**/
745747
931,
746748
/**/

0 commit comments

Comments
 (0)