diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2023-05-09 22:41:02 +0200 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2023-05-09 22:53:08 +0200 |
commit | d5780e133a030d3ae4a4985264412bdca06746d7 (patch) | |
tree | 0ab46ba19a9f1803cace6d7308dac1e57ee2a388 /test/old | |
parent | 1caad791b4655c412c35279003641e5c4d9ed28d (diff) | |
download | rneovim-d5780e133a030d3ae4a4985264412bdca06746d7.tar.gz rneovim-d5780e133a030d3ae4a4985264412bdca06746d7.tar.bz2 rneovim-d5780e133a030d3ae4a4985264412bdca06746d7.zip |
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)
https://github.com/vim/vim/commit/6f37e530d3e2d58ff055723047bf91d91af2632c
Diffstat (limited to 'test/old')
-rw-r--r-- | test/old/testdir/test_scroll_opt.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/test_scroll_opt.vim b/test/old/testdir/test_scroll_opt.vim index 4edf9cc6f5..c0c3134ff4 100644 --- a/test/old/testdir/test_scroll_opt.vim +++ b/test/old/testdir/test_scroll_opt.vim @@ -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. |