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:
zeertzjq 2023-05-13 22:28:34 +08:00
parent 4111530806
commit f80cf0f84f

View File

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