From 3a7ad904d27d904e57f7a22eb33872a587ae6673 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 23 Aug 2022 19:54:27 +0100 Subject: 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) --- src/testdir/test_cmdwin.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/testdir') diff --git a/src/testdir/test_cmdwin.vim b/src/testdir/test_cmdwin.vim index 8cfb248f7..1c42cc09e 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\:normal! \\\:\" bar\", 'ntx') + call assert_equal('" bar', @:) +endfunc + " vim: shiftwidth=2 sts=2 expandtab -- cgit v1.2.1