mirror of
https://github.com/neovim/neovim.git
synced 2025-12-08 07:32:40 +00:00
vim-patch:9.1.0300: Missing test for what patch v9.1.0285 fixes
Problem: Missing test for what patch v9.1.0285 fixes
Solution: Add a test for cursor movement at buffer boundaries.
(Luuk van Baal)
aa8e22b035
vim-patch:9.1.0225: test_matchparen not run in CI
Problem: test_matchparen not run in CI
Solution: add test_matchparen.res to NEW_TESTS_RES in Makefile,
update changed highlighting dump from v9.1.61
059aeac2be
Changes N/A and test result was restored in patch 9.1.0258 (included in #28160).
This commit is contained in:
@@ -4247,4 +4247,14 @@ func Test_halfpage_scrolloff_eob()
|
|||||||
bwipe!
|
bwipe!
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
" Test for Ctrl-U/D moving the cursor at the buffer boundaries.
|
||||||
|
func Test_halfpage_cursor_startend()
|
||||||
|
call setline(1, range(1, 100))
|
||||||
|
exe "norm! jztj\<C-U>"
|
||||||
|
call assert_equal(1, line('.'))
|
||||||
|
exe "norm! G\<C-Y>k\<C-D>"
|
||||||
|
call assert_equal(100, line('.'))
|
||||||
|
bwipe!
|
||||||
|
endfunc
|
||||||
|
|
||||||
" vim: shiftwidth=2 sts=2 expandtab nofoldenable
|
" vim: shiftwidth=2 sts=2 expandtab nofoldenable
|
||||||
|
|||||||
Reference in New Issue
Block a user