mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.2496: insufficien testing for text jumping fix
Problem: Insufficien testing for text jumping fix.
Solution: Add another test case.
5202929dab
This commit is contained in:
parent
c3dada3e5a
commit
81c9cda296
@ -352,15 +352,20 @@ func Test_breakindent19_sbr_nextpage()
|
||||
call s:compare_lines(expect, lines)
|
||||
" Scroll down one screen line
|
||||
setl scrolloff=5
|
||||
norm! 6gj
|
||||
redraw!
|
||||
norm! 5gj
|
||||
let lines = s:screen_lines(1, 20)
|
||||
let expect = [
|
||||
\ "> aaaaaaaaaaaaaaaaaa",
|
||||
\ "aaaaaaaaaaaaaaaaaaaa",
|
||||
\ "> aaaaaaaaaaaaaaaaaa",
|
||||
\ "> aaaaaaaaaaaaaaaaaa",
|
||||
\ ]
|
||||
call s:compare_lines(expect, lines)
|
||||
redraw!
|
||||
" moving the cursor doesn't change the text offset
|
||||
norm! l
|
||||
redraw!
|
||||
let lines = s:screen_lines(1, 20)
|
||||
call s:compare_lines(expect, lines)
|
||||
|
||||
setl breakindent briopt=min:18 sbr=>
|
||||
norm! 5gj
|
||||
|
Loading…
Reference in New Issue
Block a user