]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1350: tests: typo in Test_CmdlineLeavePre_cabbr() v9.1.1350
authorGirish Palya <girishji@gmail.com>
Mon, 28 Apr 2025 16:00:40 +0000 (18:00 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 28 Apr 2025 16:00:40 +0000 (18:00 +0200)
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 <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_autocmd.vim
src/version.c

index 599153b082ee88ee04279e82d3a5566dafa3d8e9..ae69dd62a7bd9bdfb5bf1fb1edb4867ae395aa3e 100644 (file)
@@ -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))
index 5e40ee5b59be46c8f6d4e3e376f92dc7b6dd28c2..a18ffced7eb58d0c4c514dad935cce9483cf614c 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1350,
 /**/
     1349,
 /**/