vim-patch:8.2.0396: cmdexpand.c insufficiently tested

Problem:    Cmdexpand.c insufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes vim/vim#5789)
24ebd83e03

Map Q to gQ before every test since a test uses :mapclear.
This commit is contained in:
zeertzjq
2022-07-09 17:19:09 +08:00
parent 12f0ef669d
commit 65359e5657
5 changed files with 189 additions and 17 deletions

View File

@@ -31,10 +31,6 @@ set switchbuf=
mapclear
mapclear!
" Make "Q" switch to Ex mode.
" This does not work for all tests.
nnoremap Q gQ
" Prevent Nvim log from writing to stderr.
let $NVIM_LOG_FILE = exists($NVIM_LOG_FILE) ? $NVIM_LOG_FILE : 'Xnvim.log'