From: Bram Moolenaar Date: Mon, 12 Feb 2018 21:49:00 +0000 (+0100) Subject: patch 8.0.1509: test for failing drag-n-drop command no longer fails X-Git-Tag: v8.0.1509 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=294959528e02403cd7ef6541208835f0c621c63b;p=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. --- diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index 05aceb330..27c589783 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -2176,7 +2176,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 diff --git a/src/version.c b/src/version.c index 963e1dcaf..beffe2a86 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1509, /**/ 1508, /**/