mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.0458: missing feature check in test function
Problem: Missing feature check in test function. Solution: Add check commands.
This commit is contained in:
@@ -247,6 +247,9 @@ func Test_confirm_cmd()
|
||||
endfunc
|
||||
|
||||
func Test_confirm_cmd_cancel()
|
||||
CheckNotGui
|
||||
CheckRunVimInTerminal
|
||||
|
||||
" Test for closing a window with a modified buffer
|
||||
let buf = RunVimInTerminal('', {'rows': 20})
|
||||
call term_sendkeys(buf, ":set nomore\n")
|
||||
|
Reference in New Issue
Block a user