]> granicus.if.org Git - vim/commitdiff
patch 7.4.2216 v7.4.2216
authorBram Moolenaar <Bram@vim.org>
Mon, 15 Aug 2016 20:54:49 +0000 (22:54 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 15 Aug 2016 20:54:49 +0000 (22:54 +0200)
Problem:    Test fails without the +sign feature.
Solution:   Only check for signcolumn with the +sign feature.

src/testdir/test_bufwintabinfo.vim
src/version.c

index fa9d97bc8590e6e48f1a2c306361ad8e416a9673..ec1f538417ce69b11359e9901a8ffa0a54feac0d 100644 (file)
@@ -49,7 +49,9 @@ function Test_getbufwintabinfo()
     call assert_equal(winbufnr(2), winlist[1].bufnum)
     call assert_equal(winheight(2), winlist[1].height)
     call assert_equal(1, winlist[2].nr)
-    call assert_equal('auto', winlist[0].options.signcolumn)
+    if has('signs')
+      call assert_equal('auto', winlist[0].options.signcolumn)
+    endif
     call assert_equal(2, winlist[3].tpnr)
     call assert_equal('green', winlist[2].variables.signal)
     call assert_equal(winwidth(1), winlist[0].width)
index 50a0c7f2d12c6a5c09eb7fe90758c92d0d229317..60d63d0a5fa95d6d209f528d703b5052023070b8 100644 (file)
@@ -763,6 +763,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2216,
 /**/
     2215,
 /**/