mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:partial:8.2.1432: various inconsistencies in test files
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes vim/vim#6695)
6d91bcb4d2
This only includes test_quickfix.vim changes.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
bbe51ef016
commit
005f6e1076
@ -2208,10 +2208,8 @@ func s:test_xgrep(cchar)
|
||||
endfunc
|
||||
|
||||
func Test_grep()
|
||||
if !has('unix')
|
||||
" The grepprg may not be set on non-Unix systems
|
||||
return
|
||||
endif
|
||||
CheckUnix
|
||||
|
||||
call s:test_xgrep('c')
|
||||
call s:test_xgrep('l')
|
||||
@ -3130,7 +3128,7 @@ func Test_vimgrep_existing_swapfile()
|
||||
call assert_match('.Xapple.swo', swapname(''))
|
||||
|
||||
call delete('Xapple')
|
||||
call delete('Xapple.swp')
|
||||
call delete('.Xapple.swp')
|
||||
augroup grep
|
||||
au! SwapExists
|
||||
augroup END
|
||||
|
Loading…
Reference in New Issue
Block a user