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:
@@ -1431,7 +1431,7 @@ func Test_input_func()
|
||||
call assert_equal('item1 item2 item3', c)
|
||||
|
||||
" Test for using special characters as default input
|
||||
call feedkeys(":let c = input('name? ', \"x\<BS>y\")\<CR>\<CR>", 'xt')
|
||||
call feedkeys(":let c = input('name? ', \"x\\<BS>y\")\<CR>\<CR>", 'xt')
|
||||
call assert_equal('y', c)
|
||||
|
||||
" Test for using <CR> as default input
|
||||
|
Reference in New Issue
Block a user