patch 9.1.0001: tests: Test_popup_setbuf() fails

Commit: 
https://github.com/vim/vim/commit/73a6e8dd207535d9f719bb7ea8cea8f321fd16b8
Author: Christian Brabandt <[email protected]>
Date:   Sun Feb 15 14:22:29 2026 +0000

    patch 9.1.0001: tests: Test_popup_setbuf() fails
    
    Problem:  tests: Test_popup_setbuf fails, because the dump file contains
              a reference to Vim version 9.1 (after v9.2.0000)
    Solution: Replace Version number by 9.1 always.
    
    closes: #19406
    
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/testdir/dumps/Test_popup_setbuf_04.vim 
b/src/testdir/dumps/Test_popup_setbuf_04.vim
index b0e9be872..c9ce1d4c5 100644
--- a/src/testdir/dumps/Test_popup_setbuf_04.vim
+++ b/src/testdir/dumps/Test_popup_setbuf_04.vim
@@ -1,2 +1,4 @@
 " replace Last Change Header in help.txt
 :1s/|L|a|s|t| |c|h|a|n|g|e|:| |\d|\d|\d|\d| |\w|\w|\w| |\d|\d|/|L|a|s|t| 
|c|h|a|n|g|e|:| |2|0|2|4| |M|a|y| |2|7|/ge
+" replace Version number in help.txt
+:1s/|v|e|r|s|i|o|n| |\(\d|\)\+\.|\d|\.|/|v|e|r|s|i|o|n| |9|.|1|.|/ge
diff --git a/src/testdir/dumps/Test_popup_setbuf_05.vim 
b/src/testdir/dumps/Test_popup_setbuf_05.vim
index b0e9be872..c9ce1d4c5 100644
--- a/src/testdir/dumps/Test_popup_setbuf_05.vim
+++ b/src/testdir/dumps/Test_popup_setbuf_05.vim
@@ -1,2 +1,4 @@
 " replace Last Change Header in help.txt
 :1s/|L|a|s|t| |c|h|a|n|g|e|:| |\d|\d|\d|\d| |\w|\w|\w| |\d|\d|/|L|a|s|t| 
|c|h|a|n|g|e|:| |2|0|2|4| |M|a|y| |2|7|/ge
+" replace Version number in help.txt
+:1s/|v|e|r|s|i|o|n| |\(\d|\)\+\.|\d|\.|/|v|e|r|s|i|o|n| |9|.|1|.|/ge
diff --git a/src/testdir/dumps/Test_popup_setbuf_06.vim 
b/src/testdir/dumps/Test_popup_setbuf_06.vim
index b0e9be872..c9ce1d4c5 100644
--- a/src/testdir/dumps/Test_popup_setbuf_06.vim
+++ b/src/testdir/dumps/Test_popup_setbuf_06.vim
@@ -1,2 +1,4 @@
 " replace Last Change Header in help.txt
 :1s/|L|a|s|t| |c|h|a|n|g|e|:| |\d|\d|\d|\d| |\w|\w|\w| |\d|\d|/|L|a|s|t| 
|c|h|a|n|g|e|:| |2|0|2|4| |M|a|y| |2|7|/ge
+" replace Version number in help.txt
+:1s/|v|e|r|s|i|o|n| |\(\d|\)\+\.|\d|\.|/|v|e|r|s|i|o|n| |9|.|1|.|/ge
diff --git a/src/version.c b/src/version.c
index 548f5d68e..8dd6db06c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1,
 /**/
     0
 };

-- 
-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vrd8S-00DYiI-RI%40256bit.org.

Raspunde prin e-mail lui