aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_normal.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-23 11:24:46 +0800
committerGitHub <noreply@github.com>2022-08-23 11:24:46 +0800
commit63df91c10a7ec492adae91c78cb51eb231c77d89 (patch)
treef9fd327fa6494d5a9ffe4440531a4814a2fd89c9 /src/nvim/testdir/test_normal.vim
parentd5328ea408d93d53b46417a65ca3b2fc99ab64b6 (diff)
downloadrneovim-63df91c10a7ec492adae91c78cb51eb231c77d89.tar.gz
rneovim-63df91c10a7ec492adae91c78cb51eb231c77d89.tar.bz2
rneovim-63df91c10a7ec492adae91c78cb51eb231c77d89.zip
vim-patch:8.2.1046: insufficient tests for src/buffer.c (#19903)
Problem: Insufficient tests for src/buffer.c. Solution: Add more tests. Move comments related tests to a separate file. (Yegappan Lakshmanan, closes vim/vim#6325) https://github.com/vim/vim/commit/b7e2483655d9b68df0c7349918027d800051a28a
Diffstat (limited to 'src/nvim/testdir/test_normal.vim')
-rw-r--r--src/nvim/testdir/test_normal.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim
index 2092b508ea..4f842189b6 100644
--- a/src/nvim/testdir/test_normal.vim
+++ b/src/nvim/testdir/test_normal.vim
@@ -1455,6 +1455,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