aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_excmd.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_excmd.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_excmd.vim')
-rw-r--r--src/nvim/testdir/test_excmd.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim
index 8b1c44c2b8..a192730293 100644
--- a/src/nvim/testdir/test_excmd.vim
+++ b/src/nvim/testdir/test_excmd.vim
@@ -66,6 +66,10 @@ func Test_copy()
1,3copy 2
call assert_equal(['L1', 'L2', 'L1', 'L2', 'L3', 'L3', 'L4'], getline(1, 7))
+ " Specifying a count before using : to run an ex-command
+ exe "normal! gg4:yank\<CR>"
+ call assert_equal("L1\nL2\nL1\nL2\n", @")
+
close!
endfunc