aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_increment.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-14 18:15:31 +0800
committerGitHub <noreply@github.com>2022-07-14 18:15:31 +0800
commitc6f0be116ec7481f16341552940764a1f3c6d1c7 (patch)
tree22837cb423804c7d9ac5c3cd80aa2932540865c2 /src/nvim/testdir/test_increment.vim
parentb81d1eb26502f403574113385a75444f8880828e (diff)
parent314f1a7c2168ee7e99e2d2b348146df092341a64 (diff)
downloadrneovim-c6f0be116ec7481f16341552940764a1f3c6d1c7.tar.gz
rneovim-c6f0be116ec7481f16341552940764a1f3c6d1c7.tar.bz2
rneovim-c6f0be116ec7481f16341552940764a1f3c6d1c7.zip
Merge pull request #19353 from zeertzjq/vim-8.2.0369
vim-patch:8.2.{0342,0347,0369}: insufficient test coverage
Diffstat (limited to 'src/nvim/testdir/test_increment.vim')
-rw-r--r--src/nvim/testdir/test_increment.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_increment.vim b/src/nvim/testdir/test_increment.vim
index 12fe52f057..2559654f25 100644
--- a/src/nvim/testdir/test_increment.vim
+++ b/src/nvim/testdir/test_increment.vim
@@ -776,6 +776,14 @@ func Test_increment_empty_line()
call setline(1, ['0', '0', '0', '0', '0', '0', ''])
exe "normal Gvgg\<C-A>"
call assert_equal(['1', '1', '1', '1', '1', '1', ''], getline(1, 7))
+
+ " Ctrl-A/Ctrl-X should do nothing in operator pending mode
+ %d
+ call setline(1, 'one two')
+ exe "normal! c\<C-A>l"
+ exe "normal! c\<C-X>l"
+ call assert_equal('one two', getline(1))
+
bwipe!
endfunc