1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2020-06-24 13:37:35 +02:00
parent 67fbdfefd2
commit b7e2483655
7 changed files with 487 additions and 272 deletions

View File

@@ -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