Correct test function for CustomWinBar in ui.test.vim.
This commit is contained in:
parent
917b737486
commit
cb0eee180f
1 changed files with 2 additions and 20 deletions
|
|
@ -397,31 +397,13 @@ endfunction
|
||||||
function! Test_CustomWinBar()
|
function! Test_CustomWinBar()
|
||||||
augroup TestCustomWinBar
|
augroup TestCustomWinBar
|
||||||
au!
|
au!
|
||||||
au User VimspectorUICreated
|
|
||||||
\ call win_execute( g:vimspector_session_windows.watches, 'q' )
|
|
||||||
au User VimspectorUICreated call s:CustomWinBar()
|
au User VimspectorUICreated call s:CustomWinBar()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
call s:StartDebugging()
|
call s:StartDebugging()
|
||||||
|
|
||||||
call vimspector#StepOver()
|
|
||||||
call vimspector#test#signs#AssertCursorIsAtLineInBuffer( s:fn, 25, 1 )
|
|
||||||
|
|
||||||
call assert_equal(
|
call assert_equal(
|
||||||
\ [ 'row', [
|
\ ['▷ ᶠ⁵', '↷ ᶠ¹⁰', '↓ ᶠ¹¹', '↑ ˢᶠ¹¹', '❘❘ ᶠ⁶', '□ ˢᶠ⁵', '⟲ ᶜˢᶠ⁵', '✕ ᶠ⁸'],
|
||||||
\ [ 'col', [
|
\ menu_info( 'WinBar' ).submenus )
|
||||||
\ [ 'leaf', g:vimspector_session_windows.variables ],
|
|
||||||
\ [ 'leaf', g:vimspector_session_windows.stack_trace ],
|
|
||||||
\ ] ],
|
|
||||||
\ [ 'col', [
|
|
||||||
\ [ 'row', [
|
|
||||||
\ [ 'leaf', g:vimspector_session_windows.code ],
|
|
||||||
\ [ 'leaf', g:vimspector_session_windows.terminal ],
|
|
||||||
\ ] ],
|
|
||||||
\ [ 'leaf', g:vimspector_session_windows.output ],
|
|
||||||
\ ] ]
|
|
||||||
\ ] ],
|
|
||||||
\ winlayout( g:vimspector_session_windows.tabpage ) )
|
|
||||||
|
|
||||||
au! TestCustomWinBar
|
au! TestCustomWinBar
|
||||||
call vimspector#test#setup#Reset()
|
call vimspector#test#setup#Reset()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue