comparison src/testdir/test_normal.vim @ 13268:50e1077e0c3d v8.0.1508

patch 8.0.1508: the :drop command is not always available commit https://github.com/vim/vim/commit/5a656864a0610547da28e0c8c1649ecd1d782948 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 12 22:08:06 2018 +0100 patch 8.0.1508: the :drop command is not always available Problem: The :drop command is not always available. Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/2639)
author Christian Brabandt <cb@256bit.org>
date Mon, 12 Feb 2018 22:15:05 +0100
parents 4d2ee1564c97
children f3fb8dae30f1
comparison
equal deleted inserted replaced
13267:707a355e635a 13268:50e1077e0c3d
2174 " clean up 2174 " clean up
2175 bw! 2175 bw!
2176 endfunc 2176 endfunc
2177 2177
2178 func! Test_normal45_drop() 2178 func! Test_normal45_drop()
2179 if !has("dnd")
2180 return
2181 endif
2182 " basic test for :drop command 2179 " basic test for :drop command
2183 " unfortunately, without a gui, we can't really test much here, 2180 " unfortunately, without a gui, we can't really test much here,
2184 " so simply test that ~p fails (which uses the drop register) 2181 " so simply test that ~p fails (which uses the drop register)
2185 new 2182 new
2186 call assert_fails(':norm! "~p', 'E353') 2183 call assert_fails(':norm! "~p', 'E353')