Skip to content

Commit 2949595

Browse files
committed
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.
1 parent 5a65686 commit 2949595

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/testdir/test_normal.vim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2176,7 +2176,11 @@ func! Test_normal44_textobjects2()
21762176
endfunc
21772177

21782178
func! Test_normal45_drop()
2179-
" basic test for :drop command
2179+
if !has('dnd')
2180+
return
2181+
endif
2182+
2183+
" basic test for drag-n-drop
21802184
" unfortunately, without a gui, we can't really test much here,
21812185
" so simply test that ~p fails (which uses the drop register)
21822186
new

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1509,
774776
/**/
775777
1508,
776778
/**/

0 commit comments

Comments
 (0)