patch 9.1.1559: tests: Test_popup_complete_info_01() fails when run alone

Commit: 
https://github.com/vim/vim/commit/12d274af44bce9002ece1dc115559d27fcd77602
Author: zeertzjq <zeert...@outlook.com>
Date:   Thu Jul 17 20:40:04 2025 +0200

    patch 9.1.1559: tests: Test_popup_complete_info_01() fails when run alone
    
    Problem:  tests: Test_popup_complete_info_01() fails when run alone.
    Solution: Set buffer-local competeopt+=noinsert and add missing cleanup
              in Test_popup_complete() (zeertzjq).
    
    closes: #17773
    
    Signed-off-by: zeertzjq <zeert...@outlook.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim
index b8c318585..956aef1b1 100644
--- a/src/testdir/test_popup.vim
+++ b/src/testdir/test_popup.vim
@@ -214,6 +214,8 @@ func Test_popup_complete()
   call feedkeys("aM\<f5>\<enter>\<esc>", 'tx')
   call assert_equal(["March", "M", "March"], getline(1,4))
   %d
+
+  set completeopt&
 endfunc
 
 
@@ -1078,6 +1080,7 @@ func Test_popup_complete_info_01()
   setlocal thesaurus=Xdummy.txt
   setlocal omnifunc=syntaxcomplete#Complete
   setlocal completefunc=syntaxcomplete#Complete
+  setlocal completeopt+=noinsert
   setlocal spell
   for [keys, mode_name] in [
         \ ["", ''],
diff --git a/src/version.c b/src/version.c
index 638dfc6bb..f61d39ced 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1559,
 /**/
     1558,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1ucTbN-00BeYI-7Y%40256bit.org.

Raspunde prin e-mail lui