comparison src/testdir/test_quickfix.vim @ 14085:59e76d550c10 v8.1.0060

patch 8.1.0060: crash when autocommands delete the current buffer commit https://github.com/vim/vim/commit/600323b4ef51a58a8e800d8ca469383a3c911db7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 16 22:16:47 2018 +0200 patch 8.1.0060: crash when autocommands delete the current buffer Problem: Crash when autocommands delete the current buffer. (Dominique Pelle) Solution: Check that autocommands don't change the buffer.
author Christian Brabandt <cb@256bit.org>
date Sat, 16 Jun 2018 22:30:06 +0200
parents 2ed1585c6467
children 678e326bf7eb
comparison
equal deleted inserted replaced
14084:9557956bfc1e 14085:59e76d550c10
3348 call assert_equal('Errors', w:quickfix_title) 3348 call assert_equal('Errors', w:quickfix_title)
3349 call setqflist([], 'r', {'items' : [{'filename' : 'a.c', 'lnum' : 10}]}) 3349 call setqflist([], 'r', {'items' : [{'filename' : 'a.c', 'lnum' : 10}]})
3350 call assert_equal('Errors', w:quickfix_title) 3350 call assert_equal('Errors', w:quickfix_title)
3351 cclose 3351 cclose
3352 endfunc 3352 endfunc
3353
3354 func Test_lbuffer_with_bwipe()
3355 new
3356 new
3357 augroup nasty
3358 au * * bwipe
3359 augroup END
3360 lbuffer
3361 augroup nasty
3362 au!
3363 augroup END
3364 endfunc