Skip to content

Commit

Permalink
clean up quickfix.vim
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbra committed Jul 13, 2023
1 parent 153b609 commit b7dfaf4
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/testdir/test_quickfix.vim
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ source screendump.vim

set encoding=utf-8

function Kill_Xtest_stable_xxd()
if !empty(glob('Xtest_stable_xxd.txt', v:false, v:true))
call add(v:errors, "Xtest_stable_xxd.txt exists when it shouldn't, trying to delete it!")
call delete('Xtest_stable_xxd.txt')
if !empty(glob('Xtest_stable_xxd.txt', v:false, v:true))
call add(v:errors, "Xtest_stable_xxd.txt still exists after trying to delete it!")
if has('unix')
call system('rm -rf Xtest_stable_xxd.txt')
endif
endif
endif
endfunc

func s:setup_commands(cchar)
if a:cchar == 'c'
command! -nargs=* -bang Xlist <mods>clist<bang> <args>
Expand Down Expand Up @@ -4268,7 +4255,6 @@ endfunc

" The following test used to crash Vim
func Test_lvimgrep_crash()
call Kill_Xtest_stable_xxd()
sv Xtest
augroup QF_Test
au!
Expand Down

0 comments on commit b7dfaf4

Please sign in to comment.