comparison src/testdir/test_quickfix.vim @ 24059:24887299c5ff v8.2.2571

patch 8.2.2571: test may leave file behind Commit: https://github.com/vim/vim/commit/8c801b374b7d32419cd877353495b801c5e1382a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 5 20:58:22 2021 +0100 patch 8.2.2571: test may leave file behind Problem: Test may leave file behind. Solution: Delete the temporary file. Don't profile in the running Vim instance.
author Bram Moolenaar <Bram@vim.org>
date Fri, 05 Mar 2021 21:00:04 +0100
parents 2a885d095bff
children 192058cad081
comparison
equal deleted inserted replaced
24058:23565e0a7bfd 24059:24887299c5ff
5360 func Test_qfbuf_update() 5360 func Test_qfbuf_update()
5361 call Xqfbuf_update('c') 5361 call Xqfbuf_update('c')
5362 call Xqfbuf_update('l') 5362 call Xqfbuf_update('l')
5363 endfunc 5363 endfunc
5364 5364
5365 func Test_vimgrep_noswapfile()
5366 set noswapfile
5367 call writefile(['one', 'two', 'three'], 'Xgreppie')
5368 vimgrep two Xgreppie
5369 call assert_equal('two', getline('.'))
5370
5371 call delete('Xgreppie')
5372 set swapfile
5373 endfunc
5374
5365 " vim: shiftwidth=2 sts=2 expandtab 5375 " vim: shiftwidth=2 sts=2 expandtab