# HG changeset patch # User Christian Brabandt # Date 1448113504 -3600 # Node ID dc7b1567d0574b7b256a58f745051404eb28657d # Parent d8ef946551ac5f1d3b6bf68b12885a571386654d commit https://github.com/vim/vim/commit/8f08dab18df6dbf6c4b4973fd2d480e4bffb82d8 Author: Bram Moolenaar Date: Sat Nov 21 14:31:33 2015 +0100 patch 7.4.932 Problem: test_utf8 has confusing dummy command. Solution: Use a real command instead of a colon. diff --git a/src/testdir/test_utf8.in b/src/testdir/test_utf8.in --- a/src/testdir/test_utf8.in +++ b/src/testdir/test_utf8.in @@ -3,6 +3,7 @@ Tests for Unicode manipulations STARTTEST :so small.vim :set encoding=utf-8 +:" :" Visual block Insert adjusts for multi-byte char :new :call setline(1, ["aaa", "あああ", "bbb"]) @@ -11,29 +12,31 @@ STARTTEST : :bwipeout! :$put=r +:" :" Test for built-in function strchars() :for str in ["a", "あいa", "A\u20dd", "A\u20dd\u20dd", "\u20dd"] : $put=strchars(str) : $put=strchars(str, 0) : $put=strchars(str, 1) :endfor +:" :" Test for customlist completion :function! CustomComplete1(lead, line, pos) : return ['あ', 'い'] :endfunction -:command -nargs=1 -complete=customlist,CustomComplete1 Test1 : +:command -nargs=1 -complete=customlist,CustomComplete1 Test1 echo :call feedkeys(":Test1 \'\$put='\", 't') : :function! CustomComplete2(lead, line, pos) : return ['あたし', 'あたま', 'あたりめ'] :endfunction -:command -nargs=1 -complete=customlist,CustomComplete2 Test2 : +:command -nargs=1 -complete=customlist,CustomComplete2 Test2 echo :call feedkeys(":Test2 \'\$put='\", 't') : :function! CustomComplete3(lead, line, pos) : return ['Nこ', 'Nん', 'Nぶ'] :endfunction -:command -nargs=1 -complete=customlist,CustomComplete3 Test3 : +:command -nargs=1 -complete=customlist,CustomComplete3 Test3 echo :call feedkeys(":Test3 \'\$put='\", 't') : :call garbagecollect(1) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 932, +/**/ 931, /**/ 930,