Skip to content

Commit 3a7ad90

Browse files
committed
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)
1 parent a247142 commit 3a7ad90

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/testdir/test_cmdwin.vim

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,5 +373,12 @@ func Test_cmdwin_virtual_edit()
373373
set ve= cpo-=$
374374
endfunc
375375

376+
" Check that a :normal command can be used to stop Visual mode without side
377+
" effects.
378+
func Test_normal_escape()
379+
call feedkeys("q:i\" foo\<Esc>:normal! \<C-V>\<Esc>\<CR>:\" bar\<CR>", 'ntx')
380+
call assert_equal('" bar', @:)
381+
endfunc
382+
376383

377384
" vim: shiftwidth=2 sts=2 expandtab

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,8 @@ static char *(features[]) =
731731

732732
static int included_patches[] =
733733
{ /* Add new patch number below this line */
734+
/**/
735+
249,
734736
/**/
735737
248,
736738
/**/

0 commit comments

Comments
 (0)