comparison src/testdir/test_quickfix.vim @ 7677:85a7a945fb87 v7.4.1137

commit https://github.com/vim/vim/commit/62ef797496c6243d111c596a592a8ef8c1d1e710 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 19 14:51:54 2016 +0100 patch 7.4.1137 Problem: Illegal memory access when using :copen and :cclose. Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes) Add a test.
author Christian Brabandt <cb@256bit.org>
date Tue, 19 Jan 2016 15:00:06 +0100
parents 87e607fb6853
children bf58e9f8d52a
comparison
equal deleted inserted replaced
7676:b0e4d35c8997 7677:85a7a945fb87
293 call alloc_fail(GetAllocId('qf_pattern'), 0, 0) 293 call alloc_fail(GetAllocId('qf_pattern'), 0, 0)
294 call assert_fails('cfile runtest.vim', 'E342:') 294 call assert_fails('cfile runtest.vim', 'E342:')
295 295
296 endfunc 296 endfunc
297 297
298 298 function Test_helpgrep()
299 helpgrep quickfix
300 copen
301 " This wipes out the buffer, make sure that doesn't cause trouble.
302 cclose
303 endfunc
304