comparison src/testdir/test_excmd.vim @ 19803:71911b1dc3f9 v8.2.0458

patch 8.2.0458: missing feature check in test function Commit: https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 26 22:09:52 2020 +0100 patch 8.2.0458: missing feature check in test function Problem: Missing feature check in test function. Solution: Add check commands.
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 Mar 2020 22:15:04 +0100
parents bde8020fb283
children c110bb3b15a8
comparison
equal deleted inserted replaced
19802:d99db17de953 19803:71911b1dc3f9
245 call delete('foo') 245 call delete('foo')
246 call delete('bar') 246 call delete('bar')
247 endfunc 247 endfunc
248 248
249 func Test_confirm_cmd_cancel() 249 func Test_confirm_cmd_cancel()
250 CheckNotGui
251 CheckRunVimInTerminal
252
250 " Test for closing a window with a modified buffer 253 " Test for closing a window with a modified buffer
251 let buf = RunVimInTerminal('', {'rows': 20}) 254 let buf = RunVimInTerminal('', {'rows': 20})
252 call term_sendkeys(buf, ":set nomore\n") 255 call term_sendkeys(buf, ":set nomore\n")
253 call term_sendkeys(buf, ":new\n") 256 call term_sendkeys(buf, ":new\n")
254 call term_sendkeys(buf, ":call setline(1, 'abc')\n") 257 call term_sendkeys(buf, ":call setline(1, 'abc')\n")