aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-16 03:22:42 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-16 03:22:48 -0400
commitc03fc7ef3e74290b9aafa288b6ead9fefa26f09f (patch)
tree12a5b967afc2c762fa39c5d9cb0fad1dbc6c4372 /src
parent0f9622ca2501dcdd6b1af0d86b8353e9d2265973 (diff)
downloadrneovim-c03fc7ef3e74290b9aafa288b6ead9fefa26f09f.tar.gz
rneovim-c03fc7ef3e74290b9aafa288b6ead9fefa26f09f.tar.bz2
rneovim-c03fc7ef3e74290b9aafa288b6ead9fefa26f09f.zip
vim-patch:8.0.1509: test for failing drag-n-drop command no longer fails
Problem: Test for failing drag-n-drop command no longer fails. Solution: Check for the "dnd" feature. https://github.com/vim/vim/commit/294959528e02403cd7ef6541208835f0c621c63b
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_normal.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_normal.vim b/src/nvim/testdir/test_normal.vim
index 3ca3561876..86b3e352bd 100644
--- a/src/nvim/testdir/test_normal.vim
+++ b/src/nvim/testdir/test_normal.vim
@@ -2180,7 +2180,11 @@ func! Test_normal44_textobjects2()
endfunc
func! Test_normal45_drop()
- " basic test for :drop command
+ if !has('dnd')
+ return
+ endif
+
+ " basic test for drag-n-drop
" unfortunately, without a gui, we can't really test much here,
" so simply test that ~p fails (which uses the drop register)
new