diff --git a/test/old/testdir/test_ins_complete.vim b/test/old/testdir/test_ins_complete.vim index 2fca84e227..104acfa7bc 100644 --- a/test/old/testdir/test_ins_complete.vim +++ b/test/old/testdir/test_ins_complete.vim @@ -5755,6 +5755,12 @@ func Test_autocomplete_completeopt_preinsert() call feedkeys($"cwch\\n.n.", 'tx') call assert_equal(repeat(['changed'], 3), getline(1, 3)) + " Select a match and delete up to text equal to another match + %delete + call setline(1, ["foobar", "foo"]) + call feedkeys("Go\", 'tx') + call DoTest("f\\\\\\", 'foo', 3) + %delete _ let &l:undolevels = &l:undolevels normal! ifoo