comparison src/testdir/test_mksession.vim @ 18767:068337e86133 v8.1.2373

patch 8.1.2373: cannot build with +popupwin but without +quickfix Commit: https://github.com/vim/vim/commit/5a4c3082d7ab51b3d448a91578479c96c1ab0ad3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 1 15:23:11 2019 +0100 patch 8.1.2373: cannot build with +popupwin but without +quickfix Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Dec 2019 15:30:04 +0100
parents c14f5d3a205d
children 08940efa6b4e
comparison
equal deleted inserted replaced
18766:3cc0ddf2abd0 18767:068337e86133
353 endfunc 353 endfunc
354 354
355 if has('terminal') 355 if has('terminal')
356 356
357 func Test_mksession_terminal_shell() 357 func Test_mksession_terminal_shell()
358 CheckFeature quickfix
359
358 terminal 360 terminal
359 mksession! Xtest_mks.out 361 mksession! Xtest_mks.out
360 let lines = readfile('Xtest_mks.out') 362 let lines = readfile('Xtest_mks.out')
361 let term_cmd = '' 363 let term_cmd = ''
362 for line in lines 364 for line in lines
434 call delete('Xtest_mks.out') 436 call delete('Xtest_mks.out')
435 set sessionoptions& 437 set sessionoptions&
436 endfunc 438 endfunc
437 439
438 func Test_mksession_terminal_restore_other() 440 func Test_mksession_terminal_restore_other()
441 CheckFeature quickfix
442
439 terminal 443 terminal
440 eval bufnr('%')->term_setrestore('other') 444 eval bufnr('%')->term_setrestore('other')
441 mksession! Xtest_mks.out 445 mksession! Xtest_mks.out
442 let lines = readfile('Xtest_mks.out') 446 let lines = readfile('Xtest_mks.out')
443 let term_cmd = '' 447 let term_cmd = ''