diff src/testdir/test_normal.vim @ 13270:f3fb8dae30f1 v8.0.1509

patch 8.0.1509: test for failing drag-n-drop command no longer fails commit https://github.com/vim/vim/commit/294959528e02403cd7ef6541208835f0c621c63b Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 12 22:49:00 2018 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Mon, 12 Feb 2018 23:00:06 +0100
parents 50e1077e0c3d
children abaebba89fd4
line wrap: on
line diff
--- 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