diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-14 18:15:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-14 18:15:31 +0800 |
| commit | c6f0be116ec7481f16341552940764a1f3c6d1c7 (patch) | |
| tree | 22837cb423804c7d9ac5c3cd80aa2932540865c2 /src/nvim/testdir/test_increment.vim | |
| parent | b81d1eb26502f403574113385a75444f8880828e (diff) | |
| parent | 314f1a7c2168ee7e99e2d2b348146df092341a64 (diff) | |
| download | rneovim-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.vim | 8 |
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 |