summaryrefslogtreecommitdiff
path: root/src/testdir/test_undo.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-22 19:37:06 +0100
committerBram Moolenaar <Bram@vim.org>2021-03-22 19:37:06 +0100
commit1f448d906b3c516e5864dc5bae3ddbf3664ee649 (patch)
treef9d45c6626b219fa888c778fdeefd1db288ae730 /src/testdir/test_undo.vim
parente98f60a5912d30db289231aed7d3a1d74beaae20 (diff)
downloadvim-git-1f448d906b3c516e5864dc5bae3ddbf3664ee649.tar.gz
patch 8.2.2643: various code not covered by testsv8.2.2643
Problem: Various code not covered by tests. Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
Diffstat (limited to 'src/testdir/test_undo.vim')
-rw-r--r--src/testdir/test_undo.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index f12e1525c..2621412fa 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -747,4 +747,13 @@ func Test_redo_repeat_numbered_register()
bwipe!
endfunc
+" Test for redo in insert mode using CTRL-O with multibyte characters
+func Test_redo_multibyte_in_insert_mode()
+ new
+ call feedkeys("a\<C-K>ft", 'xt')
+ call feedkeys("uiHe\<C-O>.llo", 'xt')
+ call assert_equal("He\ufb05llo", getline(1))
+ bwipe!
+endfunc
+
" vim: shiftwidth=2 sts=2 expandtab