aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cmdline.vim
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-03-14 13:55:12 +0000
committerGitHub <noreply@github.com>2022-03-14 13:55:12 +0000
commit2fbbd3258ec90d37c3192a1f7a8ee2cd4db5653e (patch)
tree7da2a639663d6c46e57766b5e9cb70a6ccd63c39 /src/nvim/testdir/test_cmdline.vim
parent895ca52e4c726fd6c2cf6fbbab0d392818337ce7 (diff)
parent365a9b074f2df3c573ae4a520084818bdd46cd3d (diff)
downloadrneovim-2fbbd3258ec90d37c3192a1f7a8ee2cd4db5653e.tar.gz
rneovim-2fbbd3258ec90d37c3192a1f7a8ee2cd4db5653e.tar.bz2
rneovim-2fbbd3258ec90d37c3192a1f7a8ee2cd4db5653e.zip
Merge pull request #17488 from seandewar/vim-8.2.4428
vim-patch:8.2.{1401,1413,4428,4432,4434,4438,4442,4444,4445,4454}: tabpage patches
Diffstat (limited to 'src/nvim/testdir/test_cmdline.vim')
-rw-r--r--src/nvim/testdir/test_cmdline.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim
index ff4cbe544c..c589d941da 100644
--- a/src/nvim/testdir/test_cmdline.vim
+++ b/src/nvim/testdir/test_cmdline.vim
@@ -1123,6 +1123,18 @@ func Test_cmdlineclear_tabenter()
call delete('XtestCmdlineClearTabenter')
endfunc
+func Test_cmdwin_tabpage()
+ tabedit
+ " v8.2.1919 isn't ported yet, so E492 is thrown after E11 here.
+ " v8.2.1183 also isn't ported yet, so we also can't assert E11 directly.
+ " For now, assert E11 and E492 seperately. When v8.2.1183 is ported, the
+ " assert for E492 will fail and this workaround should be removed.
+ " call assert_fails("silent norm q/g :I\<Esc>", 'E11:')
+ call assert_fails("silent norm q/g ", 'E11:')
+ call assert_fails("silent norm q/g :I\<Esc>", 'E492:')
+ tabclose!
+endfunc
+
" test that ";" works to find a match at the start of the first line
func Test_zero_line_search()
new