mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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 #9599)
This commit is contained in:
parent
d1c58999c8
commit
206919191f
@ -4,9 +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
|
||||||
|
|
||||||
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 +112,8 @@ func Test_conceal_two_windows()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_conceal_with_cursorline()
|
func Test_conceal_with_cursorline()
|
||||||
|
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]
|
||||||
@ -138,6 +141,8 @@ func Test_conceal_with_cursorline()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_conceal_resize_term()
|
func Test_conceal_resize_term()
|
||||||
|
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
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4190,
|
||||||
/**/
|
/**/
|
||||||
4189,
|
4189,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user