summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-12 22:49:00 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-12 22:49:00 +0100
commit294959528e02403cd7ef6541208835f0c621c63b (patch)
tree1d137a6657a1eff7550a826542f5721f8510a7da /src
parent5a656864a0610547da28e0c8c1649ecd1d782948 (diff)
patch 8.0.1509: test for failing drag-n-drop command no longer failsv8.0.1509
Problem: Test for failing drag-n-drop command no longer fails. Solution: Check for the "dnd" feature.
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_normal.vim6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim
index 05aceb3301..27c589783a 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 963e1dcafa..beffe2a861 100644
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1509,
+/**/
1508,
/**/
1507,