aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_excmd.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-16 11:34:19 +0800
committerGitHub <noreply@github.com>2022-07-16 11:34:19 +0800
commit591765c9151980ff4b5e700d384edf6fe0fdd5c5 (patch)
tree4e17e135881a8e1ccd90ad4f2f513506669920d7 /src/nvim/testdir/test_excmd.vim
parent73526abbbdf08e68e572b8e54c583de5a0323484 (diff)
downloadrneovim-591765c9151980ff4b5e700d384edf6fe0fdd5c5.tar.gz
rneovim-591765c9151980ff4b5e700d384edf6fe0fdd5c5.tar.bz2
rneovim-591765c9151980ff4b5e700d384edf6fe0fdd5c5.zip
vim-patch:8.2.1061: insufficient testing for src/window.c (#19384)
Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6345) https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3 Cherry-pick test_tagjump.vim changes from patch 8.1.2373.
Diffstat (limited to 'src/nvim/testdir/test_excmd.vim')
-rw-r--r--src/nvim/testdir/test_excmd.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim
index 6858efeaa9..7d581d5efd 100644
--- a/src/nvim/testdir/test_excmd.vim
+++ b/src/nvim/testdir/test_excmd.vim
@@ -509,6 +509,11 @@ func Test_run_excmd_with_text_locked()
close
call assert_fails("call feedkeys(\":\<C-R>=execute('bnext')\<CR>\", 'xt')", 'E565:')
+
+ " :tabfirst
+ tabnew
+ call assert_fails("call feedkeys(\":\<C-R>=execute('tabfirst')\<CR>\", 'xt')", 'E565:')
+ tabclose
endfunc
" Test for the :verbose command