diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-02 19:44:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-02 19:44:56 +0100 |
commit | a11919fa44fb43e947ef7871f31096a79429ec8a (patch) | |
tree | 1a3dcff40c36ca73029bb02b51f9a3283701ecb8 /src/testdir/test_vim9_cmd.vim | |
parent | 9d19e4f4ba55f8bef18d4991abdf740ff6472dba (diff) | |
download | vim-git-a11919fa44fb43e947ef7871f31096a79429ec8a.tar.gz |
patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by barv8.2.2281
Problem: Vim9: compiled "wincmd" cannot be followed by bar.
Solution: Check for bar after "wincmd". (closes #7599)
Diffstat (limited to 'src/testdir/test_vim9_cmd.vim')
-rw-r--r-- | src/testdir/test_vim9_cmd.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim index 095158c51..ab3110068 100644 --- a/src/testdir/test_vim9_cmd.vim +++ b/src/testdir/test_vim9_cmd.vim @@ -868,4 +868,14 @@ def Test_insert_complete() bwipe! enddef +def Test_wincmd() + split + var id1 = win_getid() + if true + try | wincmd w | catch | endtry + endif + assert_notequal(id1, win_getid()) + close +enddef + " vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker |