mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
vim-patch:9.0.0249: no test for what 9.0.0234 fixes
Problem: No test for what 9.0.0234 fixes.
Solution: Add a test. (issue vim/vim#10950)
3a7ad904d2
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
4111530806
commit
f80cf0f84f
@ -21,5 +21,12 @@ func Test_cmdwin_virtual_edit()
|
||||
set ve= cpo-=$
|
||||
endfunc
|
||||
|
||||
" Check that a :normal command can be used to stop Visual mode without side
|
||||
" effects.
|
||||
func Test_normal_escape()
|
||||
call feedkeys("q:i\" foo\<Esc>:normal! \<C-V>\<Esc>\<CR>:\" bar\<CR>", 'ntx')
|
||||
call assert_equal('" bar', @:)
|
||||
endfunc
|
||||
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
Loading…
Reference in New Issue
Block a user