mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
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:
@@ -3494,14 +3494,17 @@ func Xautocmd_changelist(cchar)
|
|||||||
call assert_equal(4, line('.'))
|
call assert_equal(4, line('.'))
|
||||||
autocmd! QuickFixCmdPost
|
autocmd! QuickFixCmdPost
|
||||||
|
|
||||||
" Test for grep/lgrep
|
" The grepprg may not be set on non-Unix systems
|
||||||
call g:Xsetlist([], 'f')
|
if has('unix')
|
||||||
Xexpr 'Xtestfile1:2:Line2'
|
" Test for grep/lgrep
|
||||||
autocmd QuickFixCmdPost * Xolder
|
call g:Xsetlist([], 'f')
|
||||||
silent Xgrep Line5 Xtestfile2
|
Xexpr 'Xtestfile1:2:Line2'
|
||||||
call assert_equal('Xtestfile2', bufname(''))
|
autocmd QuickFixCmdPost * Xolder
|
||||||
call assert_equal(5, line('.'))
|
silent Xgrep Line5 Xtestfile2
|
||||||
autocmd! QuickFixCmdPost
|
call assert_equal('Xtestfile2', bufname(''))
|
||||||
|
call assert_equal(5, line('.'))
|
||||||
|
autocmd! QuickFixCmdPost
|
||||||
|
endif
|
||||||
|
|
||||||
" Test for vimgrep/lvimgrep
|
" Test for vimgrep/lvimgrep
|
||||||
call g:Xsetlist([], 'f')
|
call g:Xsetlist([], 'f')
|
||||||
|
Reference in New Issue
Block a user