aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-02 18:46:39 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-01-02 18:47:06 -0500
commitd216314e5bc223bad49b1ae49011194f8edf60f2 (patch)
tree9f0151c77018c015ac3cbf12a8680a07ea974c33
parentdf40d973cccd06142bd1c3378a8b828428ef8b27 (diff)
downloadrneovim-d216314e5bc223bad49b1ae49011194f8edf60f2.tar.gz
rneovim-d216314e5bc223bad49b1ae49011194f8edf60f2.tar.bz2
rneovim-d216314e5bc223bad49b1ae49011194f8edf60f2.zip
vim-patch:8.2.0458: missing feature check in test function
Problem: Missing feature check in test function. Solution: Add check commands. https://github.com/vim/vim/commit/bea9023d4260349c130faf447aa8d4cbadeffab2
-rw-r--r--src/nvim/testdir/test_excmd.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim
index 28ac2f65f6..62c35c9f53 100644
--- a/src/nvim/testdir/test_excmd.vim
+++ b/src/nvim/testdir/test_excmd.vim
@@ -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")