forked from aniani/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.
This commit is contained in:
@@ -3457,6 +3457,8 @@ func Xautocmd_changelist(cchar)
|
||||
call assert_equal(4, 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'
|
||||
@@ -3465,6 +3467,7 @@ func Xautocmd_changelist(cchar)
|
||||
call assert_equal('Xtestfile2', bufname(''))
|
||||
call assert_equal(5, line('.'))
|
||||
autocmd! QuickFixCmdPost
|
||||
endif
|
||||
|
||||
" Test for vimgrep/lvimgrep
|
||||
call g:Xsetlist([], 'f')
|
||||
|
||||
@@ -789,6 +789,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
145,
|
||||
/**/
|
||||
144,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user