comparison src/testdir/test_autocmd.vim @ 20120:16460964c304 v8.2.0615

patch 8.2.0615: regexp benchmark stest is old style Commit: https://github.com/vim/vim/commit/ad48e6c1590842ab6d48e6caba3e9250734dae27 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 21 22:19:45 2020 +0200 patch 8.2.0615: regexp benchmark stest is old style Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Apr 2020 22:30:03 +0200
parents c087099e9163
children e76b83c07bd8
comparison
equal deleted inserted replaced
20119:35c4224dc232 20120:16460964c304
297 redir => res 297 redir => res
298 doautocmd VimEnter 298 doautocmd VimEnter
299 redir END 299 redir END
300 call assert_true(match(res, "W19:") < 0) 300 call assert_true(match(res, "W19:") < 0)
301 au! VimEnter 301 au! VimEnter
302
303 call assert_fails('augroup!', 'E471:')
302 endfunc 304 endfunc
303 305
304 func Test_BufReadCmdHelp() 306 func Test_BufReadCmdHelp()
305 " This used to cause access to free memory 307 " This used to cause access to free memory
306 au BufReadCmd * e +h 308 au BufReadCmd * e +h