mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.1.1139: no test for what is fixed in patch 8.1.0716
Problem: No test for what is fixed in patch 8.1.0716. Solution: Add a test. (Yasuhiro Matsumoto, closes #3797)
This commit is contained in:
@@ -186,12 +186,15 @@ endfunc
|
||||
|
||||
func Test_CompleteDoneNone()
|
||||
au CompleteDone * :call <SID>CompleteDone_CheckCompletedItemNone()
|
||||
let oldline = join(map(range(&columns), 'nr2char(screenchar(&lines-1, v:val+1))'), '')
|
||||
|
||||
set completefunc=<SID>CompleteDone_CompleteFuncNone
|
||||
execute "normal a\<C-X>\<C-U>\<C-Y>"
|
||||
set completefunc&
|
||||
let newline = join(map(range(&columns), 'nr2char(screenchar(&lines-1, v:val+1))'), '')
|
||||
|
||||
call assert_true(s:called_completedone)
|
||||
call assert_equal(oldline, newline)
|
||||
|
||||
let s:called_completedone = 0
|
||||
au! CompleteDone
|
||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1139,
|
||||
/**/
|
||||
1138,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user