vim-patch:8.1.0145: test with grep is failing on MS-Windows

Problem:    Test with grep is failing on MS-Windows.
Solution:   Skip the test.
851332ea9c
This commit is contained in:
Jan Edmund Lazo
2019-09-04 02:35:45 -04:00
parent 9d50d033bc
commit 1838f6ba76

View File

@@ -3494,14 +3494,17 @@ func Xautocmd_changelist(cchar)
call assert_equal(4, line('.'))
autocmd! QuickFixCmdPost
" Test for grep/lgrep
call g:Xsetlist([], 'f')
Xexpr 'Xtestfile1:2:Line2'
autocmd QuickFixCmdPost * Xolder
silent Xgrep Line5 Xtestfile2
call assert_equal('Xtestfile2', bufname(''))
call assert_equal(5, line('.'))
autocmd! QuickFixCmdPost
" The grepprg may not be set on non-Unix systems
if has('unix')
" Test for grep/lgrep
call g:Xsetlist([], 'f')
Xexpr 'Xtestfile1:2:Line2'
autocmd QuickFixCmdPost * Xolder
silent Xgrep Line5 Xtestfile2
call assert_equal('Xtestfile2', bufname(''))
call assert_equal(5, line('.'))
autocmd! QuickFixCmdPost
endif
" Test for vimgrep/lvimgrep
call g:Xsetlist([], 'f')