Patch 8.1.1139
Problem:    No test for what is fixed in patch 8.1.0716.
Solution:   Add a test. (Yasuhiro Matsumoto, closes #3797)
Files:      src/testdir/test_ins_complete.vim

*** ../vim-8.1.1138/src/testdir/test_ins_complete.vim   2019-01-11 
13:02:20.105567884 +0100
--- src/testdir/test_ins_complete.vim   2019-04-08 18:56:42.498049152 +0200
***************
*** 186,197 ****
--- 186,200 ----
  
  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
*** ../vim-8.1.1138/src/version.c       2019-04-08 18:15:36.472223190 +0200
--- src/version.c       2019-04-08 18:59:05.661264378 +0200
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1139,
  /**/


-- 
A computer without Windows is like a fish without a bicycle.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui