diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-06-19 23:46:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-19 23:46:43 +0200 |
| commit | 954df0ea03ff93a888af97714732aca257820229 (patch) | |
| tree | 8162f19d9910406d154f27f72991212707df7d92 /src/nvim/testdir | |
| parent | 487eaf8d456de17449ade6826ca0d13a64db576d (diff) | |
| parent | 3f48b3a92f70829de434af484ed3aa25239fae9e (diff) | |
| download | rneovim-954df0ea03ff93a888af97714732aca257820229.tar.gz rneovim-954df0ea03ff93a888af97714732aca257820229.tar.bz2 rneovim-954df0ea03ff93a888af97714732aca257820229.zip | |
Merge #10245 from janlazo/vim-8.0.1723
vim-patch:8.0.{1723,1726,1735},8.1.{73,74}
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/Makefile | 2 | ||||
| -rw-r--r-- | src/nvim/testdir/test_quickfix.vim | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile index 7b1f0f59cc..fe9e0bc9c8 100644 --- a/src/nvim/testdir/Makefile +++ b/src/nvim/testdir/Makefile @@ -32,14 +32,12 @@ NEW_TESTS_ALOT := test_alot_utf8 test_alot NEW_TESTS_IN_ALOT := $(shell sed '/^source/ s/^source //;s/\.vim$$//' test_alot*.vim) # Ignored tests. # test_alot_latin: Nvim does not allow setting encoding. -# test_arglist: ported to Lua, but kept for easier merging. # test_autochdir: ported to Lua, but kept for easier merging. # test_eval_func: used as include in old-style test (test_eval.in). # test_listlbr: Nvim does not allow setting encoding. # test_largefile: uses too much resources to run on CI. NEW_TESTS_IGNORE := $(NEW_TESTS_IN_ALOT) $(NEW_TESTS_ALOT) \ test_alot_latin \ - test_arglist \ test_autochdir \ test_eval_func \ test_listlbr \ diff --git a/src/nvim/testdir/test_quickfix.vim b/src/nvim/testdir/test_quickfix.vim index fcb02d3437..4d78c67f5c 100644 --- a/src/nvim/testdir/test_quickfix.vim +++ b/src/nvim/testdir/test_quickfix.vim @@ -3373,6 +3373,17 @@ func Test_lbuffer_with_bwipe() augroup END endfunc +func Test_setloclist_in_aucmd() + " This was using freed memory. + augroup nasty + au * * call setloclist(0, [], 'f') + augroup END + lexpr "x" + augroup nasty + au! + augroup END +endfunc + " Tests for the "CTRL-W <CR>" command. func Xview_result_split_tests(cchar) call s:setup_commands(a:cchar) |