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:
zeertzjq 2024-07-18 06:46:52 +08:00
parent bbe51ef016
commit 005f6e1076

View File

@ -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