changeset 9883:633a03b87eda v7.4.2216

commit https://github.com/vim/vim/commit/22177f0c0826e3b2411a5e9d050b50200877ecd3 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Aug 15 22:54:49 2016 +0200 patch 7.4.2216 Problem: Test fails without the +sign feature. Solution: Only check for signcolumn with the +sign feature.
author Christian Brabandt <cb@256bit.org>
date Mon, 15 Aug 2016 23:00:06 +0200
parents 3174150dcb3b
children f257a33a7418
files src/testdir/test_bufwintabinfo.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_bufwintabinfo.vim
+++ b/src/testdir/test_bufwintabinfo.vim
@@ -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)
--- a/src/version.c
+++ b/src/version.c
@@ -764,6 +764,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2216,
+/**/
     2215,
 /**/
     2214,