From c03fc7ef3e74290b9aafa288b6ead9fefa26f09f Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 16 Aug 2018 03:22:42 -0400 Subject: 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 --- src/nvim/testdir/test_normal.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit