mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
vim-patch:8.2.4190: all conceal tests are skipped without the screendumps feature
Problem: All conceal tests are skipped without the screendumps feature.
Solution: Only skip the tests that use screendumps. (closes vim/vim#9599)
206919191f
This commit is contained in:
@@ -4,10 +4,10 @@ source check.vim
|
|||||||
CheckFeature conceal
|
CheckFeature conceal
|
||||||
|
|
||||||
source screendump.vim
|
source screendump.vim
|
||||||
" CheckScreendump
|
|
||||||
|
|
||||||
func Test_conceal_two_windows()
|
func Test_conceal_two_windows()
|
||||||
CheckScreendump
|
CheckScreendump
|
||||||
|
|
||||||
let code =<< trim [CODE]
|
let code =<< trim [CODE]
|
||||||
let lines = ["one one one one one", "two |hidden| here", "three |hidden| three"]
|
let lines = ["one one one one one", "two |hidden| here", "three |hidden| three"]
|
||||||
call setline(1, lines)
|
call setline(1, lines)
|
||||||
@@ -111,6 +111,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_conceal_with_cursorline()
|
func Test_conceal_with_cursorline()
|
||||||
CheckScreendump
|
CheckScreendump
|
||||||
|
|
||||||
" Opens a help window, where 'conceal' is set, switches to the other window
|
" Opens a help window, where 'conceal' is set, switches to the other window
|
||||||
" where 'cursorline' needs to be updated when the cursor moves.
|
" where 'cursorline' needs to be updated when the cursor moves.
|
||||||
let code =<< trim [CODE]
|
let code =<< trim [CODE]
|
||||||
@@ -139,6 +140,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_conceal_resize_term()
|
func Test_conceal_resize_term()
|
||||||
CheckScreendump
|
CheckScreendump
|
||||||
|
|
||||||
let code =<< trim [CODE]
|
let code =<< trim [CODE]
|
||||||
call setline(1, '`one` `two` `three` `four` `five`, the backticks should be concealed')
|
call setline(1, '`one` `two` `three` `four` `five`, the backticks should be concealed')
|
||||||
setl cocu=n cole=3
|
setl cocu=n cole=3
|
||||||
|
Reference in New Issue
Block a user