diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-19 13:14:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-19 13:14:10 +0000 |
commit | 9fda81515b26ecd3c1e99f95334aaed3f7b6fea3 (patch) | |
tree | 12a4d3d606b0ee1d1dda7aa9799f5286462153cb /src/testdir/test_autocmd.vim | |
parent | 361895d2a15b4b0bbbb4c009261eab5b3d69ebf1 (diff) |
patch 9.0.0909: error message for layout change does not match actionv9.0.0909
Problem: Error message for layout change does not match action.
Solution: Pass the command to where the error is given. (closes #11573)
Diffstat (limited to 'src/testdir/test_autocmd.vim')
-rw-r--r-- | src/testdir/test_autocmd.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index f2f3725b3d..637fdb8c8e 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -756,6 +756,14 @@ func Test_BufEnter() bwipe! au! BufEnter endfor + + new + new + autocmd BufEnter * ++once close + call assert_fails('close', 'E1312:') + + au! BufEnter + only endfunc " Closing a window might cause an endless loop |