commit c64cada12e8c55a45f47f8847e2e541eb113551e
parent d75410b0918c456ed766a043704071e0073554d7
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 29 Apr 2025 07:13:39 +0800
vim-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: vim/vim#17217
https://github.com/vim/vim/commit/6220bbad4ee4f41398680fcfad6119398477eaa6
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim
@@ -1999,6 +1999,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))