Patch 9.0.1310 (after 9.0.1309)
Problem: 'splitkeep' test has failures.
Solution: Adjust expected cursor line position.
Files: src/testdir/test_window_cmd.vim
*** ../vim-9.0.1309/src/testdir/test_window_cmd.vim 2023-01-14 11:46:09.704717821 +0000
--- src/testdir/test_window_cmd.vim 2023-02-14 21:54:56.660757156 +0000
***************
*** 1751,1759 ****
call assert_equal(1, line("w0"))
call assert_equal(curpos, getcurpos())
! " Scroll when cursor becomes invalid in insert mode
norm Lic
! call assert_equal(curpos, getcurpos())
" No scroll when topline not equal to 1
only | execute "norm gg5\<C-e>" | split | wincmd k
--- 1751,1766 ----
call assert_equal(1, line("w0"))
call assert_equal(curpos, getcurpos())
! " Scroll when cursor becomes invalid in insert mode.
norm Lic
! call assert_equal(curpos[0], getcurpos()[0], 'run ' .. run)
!
! " The line number might be one less because of round-off.
! call assert_inrange(curpos[1] - 1, curpos[1], getcurpos()[1], 'run ' .. run)
!
! call assert_equal(curpos[2], getcurpos()[2], 'run ' .. run)
! call assert_equal(curpos[3], getcurpos()[3], 'run ' .. run)
! call assert_equal(curpos[4], getcurpos()[4], 'run ' .. run)
" No scroll when topline not equal to 1
only | execute "norm gg5\<C-e>" | split | wincmd k
*** ../vim-9.0.1309/src/version.c 2023-02-14 17:41:15.778305998 +0000
--- src/version.c 2023-02-14 21:34:25.049571284 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1310,
/**/
--
I have a watch cat! Just break in and she'll watch.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///