From: Christian Brabandt Date: Sun, 15 Feb 2026 14:22:29 +0000 (+0000) Subject: patch 9.1.0001: tests: Test_popup_setbuf() fails X-Git-Tag: v9.2.0001^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73a6e8dd207535d9f719bb7ea8cea8f321fd16b8;p=thirdparty%2Fvim.git 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 --- diff --git a/src/testdir/dumps/Test_popup_setbuf_04.vim b/src/testdir/dumps/Test_popup_setbuf_04.vim index b0e9be872b..c9ce1d4c5d 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 b0e9be872b..c9ce1d4c5d 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 b0e9be872b..c9ce1d4c5d 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 548f5d68ed..8dd6db06c7 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 };