mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.0305: relativenumber test fails on some systems
Problem: Relativenumber test fails on some systems. (James McCoy)
Solution: Clear the command line.
8040a7147f
This commit is contained in:
parent
1e0613f58c
commit
94eaf3cb2f
@ -284,10 +284,10 @@ func Test_relativenumber_colors()
|
|||||||
" Default colors
|
" Default colors
|
||||||
call VerifyScreenDump(buf, 'Test_relnr_colors_1', {})
|
call VerifyScreenDump(buf, 'Test_relnr_colors_1', {})
|
||||||
|
|
||||||
call term_sendkeys(buf, ":hi LineNrAbove ctermfg=blue\<CR>")
|
call term_sendkeys(buf, ":hi LineNrAbove ctermfg=blue\<CR>:\<CR>")
|
||||||
call VerifyScreenDump(buf, 'Test_relnr_colors_2', {})
|
call VerifyScreenDump(buf, 'Test_relnr_colors_2', {})
|
||||||
|
|
||||||
call term_sendkeys(buf, ":hi LineNrBelow ctermfg=green\<CR>")
|
call term_sendkeys(buf, ":hi LineNrBelow ctermfg=green\<CR>:\<CR>")
|
||||||
call VerifyScreenDump(buf, 'Test_relnr_colors_3', {})
|
call VerifyScreenDump(buf, 'Test_relnr_colors_3', {})
|
||||||
|
|
||||||
call term_sendkeys(buf, ":hi clear LineNrAbove\<CR>")
|
call term_sendkeys(buf, ":hi clear LineNrAbove\<CR>")
|
||||||
|
Loading…
Reference in New Issue
Block a user