summaryrefslogtreecommitdiff
path: root/src/testdir/test_window_cmd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-26 22:42:21 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-26 22:42:21 +0100
commit21829c5f2c86cd525c8468121b4fc54c5d75bf6e (patch)
tree41396772eb831dd5c7d774d3a98016b640d7bda5 /src/testdir/test_window_cmd.vim
parentb7e2670b6a1de02c772af5097ba24f2a15b26eec (diff)
downloadvim-git-21829c5f2c86cd525c8468121b4fc54c5d75bf6e.tar.gz
patch 8.2.2415: no way to check for the cmdwin featurev8.2.2415
Problem: No way to check for the cmdwin feature, cmdline_hist is now always enabled. Solution: Add has('cmdwin') support. Skip arglist test on Windows temporarily.
Diffstat (limited to 'src/testdir/test_window_cmd.vim')
-rw-r--r--src/testdir/test_window_cmd.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim
index 8a9748849..f26b44746 100644
--- a/src/testdir/test_window_cmd.vim
+++ b/src/testdir/test_window_cmd.vim
@@ -19,6 +19,8 @@ func Test_window_cmd_ls0_with_split()
endfunc
func Test_window_cmd_cmdwin_with_vsp()
+ CheckFeature cmdwin
+
let efmt = 'Expected 0 but got %d (in ls=%d, %s window)'
for v in range(0, 2)
exec "set ls=" . v