1
0
forked from aniani/vim

patch 8.2.2643: various code not covered by tests

Problem:    Various code not covered by tests.
Solution:   Add a few more test. (Yegappan Lakshmanan, closes #7995)
This commit is contained in:
Bram Moolenaar
2021-03-22 19:37:06 +01:00
parent e98f60a591
commit 1f448d906b
6 changed files with 83 additions and 1 deletions

View File

@@ -1389,4 +1389,14 @@ func Test_map_cmdkey_redo()
ounmap i-
endfunc
" Test for using <script> with a map to remap characters in rhs
func Test_script_local_remap()
new
inoremap <buffer> <SID>xyz mno
inoremap <buffer> <script> abc st<SID>xyzre
normal iabc
call assert_equal('stmnore', getline(1))
bwipe!
endfunc
" vim: shiftwidth=2 sts=2 expandtab