forked from aniani/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 #10950)
This commit is contained in:
@@ -373,5 +373,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
|
||||
|
@@ -731,6 +731,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
249,
|
||||
/**/
|
||||
248,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user