comparison src/testdir/test_popupwin.vim @ 17071:57125309eef3 v8.1.1535

patch 8.1.1535: popup select test fails on Mac commit https://github.com/vim/vim/commit/650a63748c349bbb60adb912273e9bedd2b677c5 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 15 00:29:33 2019 +0200 patch 8.1.1535: popup select test fails on Mac Problem: Popup select test fails on Mac. Solution: Skip test if clipboard feature not available.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 00:30:05 +0200
parents 76ae212a9075
children 89753fdfab85
comparison
equal deleted inserted replaced
17070:11fb04a29c64 17071:57125309eef3
320 endfunc 320 endfunc
321 321
322 func Test_popup_select() 322 func Test_popup_select()
323 if !CanRunVimInTerminal() 323 if !CanRunVimInTerminal()
324 throw 'Skipped: cannot make screendumps' 324 throw 'Skipped: cannot make screendumps'
325 endif
326 if !has('clipboard')
327 throw 'Skipped: clipboard feature missing'
325 endif 328 endif
326 " create a popup with some text to be selected 329 " create a popup with some text to be selected
327 let lines =<< trim END 330 let lines =<< trim END
328 call setline(1, range(1, 20)) 331 call setline(1, range(1, 20))
329 let winid = popup_create(['the word', 'some more', 'several words here'], { 332 let winid = popup_create(['the word', 'some more', 'several words here'], {