summaryrefslogtreecommitdiff
path: root/src/testdir/test_bufwintabinfo.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-15 22:54:49 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-15 22:54:49 +0200
commit22177f0c0826e3b2411a5e9d050b50200877ecd3 (patch)
treec1dff02078ef7af94508e29bb70cb16b3e9a9be9 /src/testdir/test_bufwintabinfo.vim
parent386600f0cbcb8add099c723cf84634f46df2f788 (diff)
downloadvim-git-22177f0c0826e3b2411a5e9d050b50200877ecd3.tar.gz
patch 7.4.2216v7.4.2216
Problem: Test fails without the +sign feature. Solution: Only check for signcolumn with the +sign feature.
Diffstat (limited to 'src/testdir/test_bufwintabinfo.vim')
-rw-r--r--src/testdir/test_bufwintabinfo.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_bufwintabinfo.vim b/src/testdir/test_bufwintabinfo.vim
index fa9d97bc8..ec1f53841 100644
--- 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)