Mercurial > vim
diff src/testdir/test_normal.vim @ 20990:55b3849ded11 v8.2.1046
patch 8.2.1046: insufficient tests for src/buffer.c
Commit: https://github.com/vim/vim/commit/b7e2483655d9b68df0c7349918027d800051a28a
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 24 13:37:35 2020 +0200
patch 8.2.1046: insufficient tests for src/buffer.c
Problem: Insufficient tests for src/buffer.c.
Solution: Add more tests. Move comments related tests to a separate file.
(Yegappan Lakshmanan, closes #6325)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Jun 2020 13:45:06 +0200 |
parents | 2c3e7a6bd6c6 |
children | 6a4806e326dd |
line wrap: on
line diff
--- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -1267,6 +1267,7 @@ func Test_normal21_nv_hat() edit Xfoo | %bw call assert_fails(':buffer #', 'E86') call assert_fails(':execute "normal! \<C-^>"', 'E23') + call assert_fails("normal i\<C-R>#", 'E23:') " Test for the expected behavior when switching between two named buffers. edit Xfoo | edit Xbar