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.
294959528e
This commit is contained in:
Jan Edmund Lazo 2018-08-16 03:22:42 -04:00
parent 0f9622ca25
commit c03fc7ef3e

View File

@ -2180,7 +2180,11 @@ func! Test_normal44_textobjects2()
endfunc endfunc
func! Test_normal45_drop() 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, " unfortunately, without a gui, we can't really test much here,
" so simply test that ~p fails (which uses the drop register) " so simply test that ~p fails (which uses the drop register)
new new