File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,15 +53,16 @@ function Test_getbufwintabinfo()
5353 call assert_equal (5 , len (winlist))
5454 call assert_equal (winwidth (1 ), winlist[0 ].width)
5555 call assert_equal (0 , winlist[0 ].wincol )
56- call assert_equal (1 , winlist[0 ].winrow) " tabline adds one
56+ let tablineheight = winlist[0 ].winrow == 1 ? 1 : 0
57+ call assert_equal (tablineheight, winlist[0 ].winrow) " tabline adds one
5758
5859 call assert_equal (winbufnr (2 ), winlist[1 ].bufnr )
5960 call assert_equal (winheight (2 ), winlist[1 ].height)
6061 call assert_equal (0 , winlist[1 ].wincol )
61- call assert_equal (winheight (1 ) + 2 , winlist[1 ].winrow)
62+ call assert_equal (tablineheight + winheight (1 ) + 1 , winlist[1 ].winrow)
6263
6364 call assert_equal (1 , winlist[2 ].winnr )
64- call assert_equal (1 , winlist[2 ].winrow)
65+ call assert_equal (tablineheight , winlist[2 ].winrow)
6566 call assert_equal (0 , winlist[2 ].wincol )
6667
6768 call assert_equal (winlist[2 ].width + 1 , winlist[3 ].wincol )
Original file line number Diff line number Diff line change @@ -789,6 +789,8 @@ static char *(features[]) =
789789
790790static int included_patches [] =
791791{ /* Add new patch number below this line */
792+ /**/
793+ 186 ,
792794/**/
793795 185 ,
794796/**/
You can’t perform that action at this time.
0 commit comments