Mercurial > vim
comparison src/testdir/test_window_cmd.vim @ 23748:93f90f2ff4e9 v8.2.2415
patch 8.2.2415: no way to check for the cmdwin feature
Commit: https://github.com/vim/vim/commit/21829c5f2c86cd525c8468121b4fc54c5d75bf6e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 26 22:42:21 2021 +0100
patch 8.2.2415: no way to check for the cmdwin feature
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jan 2021 22:45:04 +0100 |
parents | 0fe2cdcff19b |
children | 97296182d336 |
comparison
equal
deleted
inserted
replaced
23747:f0d11de94492 | 23748:93f90f2ff4e9 |
---|---|
17 new | only! | 17 new | only! |
18 set ls&vim | 18 set ls&vim |
19 endfunc | 19 endfunc |
20 | 20 |
21 func Test_window_cmd_cmdwin_with_vsp() | 21 func Test_window_cmd_cmdwin_with_vsp() |
22 CheckFeature cmdwin | |
23 | |
22 let efmt = 'Expected 0 but got %d (in ls=%d, %s window)' | 24 let efmt = 'Expected 0 but got %d (in ls=%d, %s window)' |
23 for v in range(0, 2) | 25 for v in range(0, 2) |
24 exec "set ls=" . v | 26 exec "set ls=" . v |
25 vsplit | 27 vsplit |
26 call feedkeys("q:\<CR>") | 28 call feedkeys("q:\<CR>") |