mirror of
https://github.com/neovim/neovim.git
synced 2026-04-28 18:24:13 +00:00
vim-patch:8.2.0458: missing feature check in test function
Problem: Missing feature check in test function.
Solution: Add check commands.
bea9023d42
This commit is contained in:
@@ -99,6 +99,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