mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #17355 from zeertzjq/test-screenpos
test(old): comment out WinBar instead of skipping Test_screenpos()
This commit is contained in:
commit
3b4bf88710
@ -75,7 +75,6 @@ func Test_curswant_with_cursorline()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_screenpos()
|
func Test_screenpos()
|
||||||
throw 'skipped: TODO: '
|
|
||||||
rightbelow new
|
rightbelow new
|
||||||
rightbelow 20vsplit
|
rightbelow 20vsplit
|
||||||
call setline(1, ["\tsome text", "long wrapping line here", "next line"])
|
call setline(1, ["\tsome text", "long wrapping line here", "next line"])
|
||||||
@ -103,9 +102,10 @@ func Test_screenpos()
|
|||||||
bwipe!
|
bwipe!
|
||||||
|
|
||||||
call assert_equal({'col': 1, 'row': 1, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1))
|
call assert_equal({'col': 1, 'row': 1, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1))
|
||||||
nmenu WinBar.TEST :
|
" Needs WinBar
|
||||||
call assert_equal({'col': 1, 'row': 2, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1))
|
" nmenu WinBar.TEST :
|
||||||
nunmenu WinBar.TEST
|
" call assert_equal({'col': 1, 'row': 2, 'endcol': 1, 'curscol': 1}, screenpos(win_getid(), 1, 1))
|
||||||
|
" nunmenu WinBar.TEST
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_screenpos_number()
|
func Test_screenpos_number()
|
||||||
|
Loading…
Reference in New Issue
Block a user