File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -53,15 +53,16 @@ function Test_getbufwintabinfo()
53
53
call assert_equal (5 , len (winlist))
54
54
call assert_equal (winwidth (1 ), winlist[0 ].width)
55
55
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
57
58
58
59
call assert_equal (winbufnr (2 ), winlist[1 ].bufnr )
59
60
call assert_equal (winheight (2 ), winlist[1 ].height)
60
61
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)
62
63
63
64
call assert_equal (1 , winlist[2 ].winnr )
64
- call assert_equal (1 , winlist[2 ].winrow)
65
+ call assert_equal (tablineheight , winlist[2 ].winrow)
65
66
call assert_equal (0 , winlist[2 ].wincol )
66
67
67
68
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[]) =
789
789
790
790
static int included_patches [] =
791
791
{ /* Add new patch number below this line */
792
+ /**/
793
+ 186 ,
792
794
/**/
793
795
185 ,
794
796
/**/
You can’t perform that action at this time.
0 commit comments