diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-26 22:42:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-26 22:42:21 +0100 |
commit | 21829c5f2c86cd525c8468121b4fc54c5d75bf6e (patch) | |
tree | 41396772eb831dd5c7d774d3a98016b640d7bda5 /src/testdir/test_arglist.vim | |
parent | b7e2670b6a1de02c772af5097ba24f2a15b26eec (diff) |
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_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index b72fe2d534..6202993490 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -527,6 +527,7 @@ endfunc " Test for quitting Vim with unedited files in the argument list func Test_quit_with_arglist() CheckRunVimInTerminal + let buf = RunVimInTerminal('', {'rows': 6}) call term_sendkeys(buf, ":set nomore\n") call term_sendkeys(buf, ":args a b c\n") @@ -561,9 +562,13 @@ endfunc " Test for ":all" not working when in the cmdline window func Test_all_not_allowed_from_cmdwin() + CheckFeature cmdwin + " TODO: why does this hang on Windows? + CheckNotMSWindows + au BufEnter * all next x - call assert_fails(":norm 7q?x\<CR>", 'E11:') + call assert_fails(":norm 7q?print\<CR>", 'E11:') au! BufEnter endfunc |