Skip to content

Commit

Permalink
patch 8.1.0145: test with grep is failing on MS-Windows
Browse files Browse the repository at this point in the history
Problem:    Test with grep is failing on MS-Windows.
Solution:   Skip the test.
  • Loading branch information
brammool committed Jul 3, 2018
1 parent b2e0c94 commit 851332e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/testdir/test_quickfix.vim
Expand Up @@ -3457,14 +3457,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')
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
145,
/**/
144,
/**/
Expand Down

0 comments on commit 851332e

Please sign in to comment.