Commit: patch 9.1.1350: tests: typo in Test_CmdlineLeavePre_cabbr()

1 view
Skip to first unread message

Christian Brabandt

unread,
Apr 28, 2025, 12:15:13 PM4/28/25
to vim...@googlegroups.com
patch 9.1.1350: tests: typo in Test_CmdlineLeavePre_cabbr()

Commit: https://github.com/vim/vim/commit/6220bbad4ee4f41398680fcfad6119398477eaa6
Author: Girish Palya <giri...@gmail.com>
Date: Mon Apr 28 18:00:40 2025 +0200

patch 9.1.1350: tests: typo in Test_CmdlineLeavePre_cabbr()

Problem: tests: typo in Test_CmdlineLeavePre_cabbr()
(after v9.1.1349)
Solution: fix typo, disable failing test on Windows for now
(Girish Palya)

closes: #17217

Signed-off-by: Girish Palya <giri...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
index 599153b08..ae69dd62a 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2078,6 +2078,8 @@ endfunc

" Ensure :cabbr does not cause a spurious CmdlineLeavePre.
func Test_CmdlineLeavePre_cabbr()
+ " For unknown reason this fails intermittently on MS-Windows
+ CheckNotMSWindows
CheckFeature terminal
let buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': 3})
call assert_equal('running', term_getstatus(buf))
diff --git a/src/version.c b/src/version.c
index 5e40ee5b5..a18ffced7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1350,
/**/
1349,
/**/
Reply all
Reply to author
Forward
0 new messages