diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-04 02:35:45 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-04 02:45:57 -0400 |
commit | 1838f6ba76b8387f7b26c8e6f9d76ce1c2dace68 (patch) | |
tree | 529675f5271f7f6eda77c753db1a5c2e3f9dc0ac /src | |
parent | 9d50d033bc7a631d9011bb427816d2543deb66f6 (diff) | |
download | rneovim-1838f6ba76b8387f7b26c8e6f9d76ce1c2dace68.tar.gz rneovim-1838f6ba76b8387f7b26c8e6f9d76ce1c2dace68.tar.bz2 rneovim-1838f6ba76b8387f7b26c8e6f9d76ce1c2dace68.zip |
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.
https://github.com/vim/vim/commit/851332ea9cdabf24980a7f7c293da81fa990f864
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index f328f069d5..440bf47f4b 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -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') |