1
0
forked from aniani/vim

patch 8.2.4228: no tests for clicking in the GUI tabline

Problem:    No tests for clicking in the GUI tabline.
Solution:   Add test functions to generate the events.  Add tests using the
            functions. (Yegappan Lakshmanan, closes #9638)
This commit is contained in:
Yegappan Lakshmanan
2022-01-27 13:16:59 +00:00
committed by Bram Moolenaar
parent e939f5ebba
commit b0ad2d92fd
11 changed files with 169 additions and 3 deletions

View File

@@ -891,6 +891,7 @@ endfunc
func Test_normal_z_error()
call assert_beeps('normal! z2p')
call assert_beeps('normal! zq')
call assert_beeps('normal! cz1')
endfunc
func Test_normal15_z_scroll_vert()
@@ -930,7 +931,7 @@ func Test_normal15_z_scroll_vert()
call assert_equal(10, winheight(0))
exe "norm! z12\<cr>"
call assert_equal(12, winheight(0))
exe "norm! z10\<cr>"
exe "norm! z15\<Del>0\<cr>"
call assert_equal(10, winheight(0))
" Test for z.