diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-23 19:54:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-23 19:54:27 +0100 |
commit | 3a7ad904d27d904e57f7a22eb33872a587ae6673 (patch) | |
tree | e052af351a0be5a1d6cd995ae29615e063af2b77 /src/testdir | |
parent | a247142ae45308087b25f91c8af48399c8ac2943 (diff) |
patch 9.0.0249: no test for what 9.0.0234 fixesv9.0.0249
Problem: No test for what 9.0.0234 fixes.
Solution: Add a test. (issue #10950)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_cmdwin.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_cmdwin.vim b/src/testdir/test_cmdwin.vim index 8cfb248f74..1c42cc09eb 100644 --- a/src/testdir/test_cmdwin.vim +++ b/src/testdir/test_cmdwin.vim @@ -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 |