0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00

patch 8.2.1786: various Normal mode commands not fully tested

Problem:    Various Normal mode commands not fully tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #7059)
This commit is contained in:
Bram Moolenaar
2020-10-02 18:48:07 +02:00
parent 3f974ff45e
commit 8a9bc95eae
7 changed files with 206 additions and 28 deletions

View File

@@ -495,8 +495,8 @@ endfunc
func Test_search_with_end_offset()
new
call setline(1, ['', 'dog(a', 'cat('])
exe "normal /(/e+" .. "\<CR>"
normal "ayn
exe "normal /(/e+\<CR>"
normal n"ayn
call assert_equal("a\ncat(", @a)
close!
endfunc