mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 10:31:48 +00:00
vim-patch:9.0.1533: test for 'smoothscroll' is ineffective
Problem: Test for 'smoothscroll' is ineffective.
Solution: Change the order of testing "zb" and "zt". (Luuk van Baal,
closes vim/vim#12366)
6f37e530d3
This commit is contained in:
@@ -323,11 +323,11 @@ func Test_smoothscroll_wrap_long_line()
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_10', {})
|
||||
|
||||
" Test zt/zz/zb that they work properly when a long line is above it
|
||||
call term_sendkeys(buf, "zb")
|
||||
call term_sendkeys(buf, "zt")
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_11', {})
|
||||
call term_sendkeys(buf, "zz")
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_12', {})
|
||||
call term_sendkeys(buf, "zt")
|
||||
call term_sendkeys(buf, "zb")
|
||||
call VerifyScreenDump(buf, 'Test_smooth_long_13', {})
|
||||
|
||||
" Repeat the step and move the cursor down again.
|
||||
|
||||
Reference in New Issue
Block a user