aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorckelsel <ckelsel@hotmail.com>2018-05-30 09:01:19 +0800
committerckelsel <ckelsel@hotmail.com>2018-05-30 09:01:36 +0800
commit6a0c727a0bf8c7812ca39e60caa55b8836df2919 (patch)
treea52470a2614dbe4e1b2eb0b344a0b41753c69cd2 /src
parentbce3e9569153354c95fa84d5072d355271e13ae0 (diff)
downloadrneovim-6a0c727a0bf8c7812ca39e60caa55b8836df2919.tar.gz
rneovim-6a0c727a0bf8c7812ca39e60caa55b8836df2919.tar.bz2
rneovim-6a0c727a0bf8c7812ca39e60caa55b8836df2919.zip
vim-patch:8.0.0511: message for skipping client-server tests is unclear
Problem: Menuage for skipping client-server tests is unclear. Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu Kuriyama) https://github.com/vim/vim/commit/a683ec44c34f0717dcc6a0c03493ba39b879ac38
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_quotestar.vim8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_quotestar.vim b/src/nvim/testdir/test_quotestar.vim
index 6e4e4caea7..37e3a10ed1 100644
--- a/src/nvim/testdir/test_quotestar.vim
+++ b/src/nvim/testdir/test_quotestar.vim
@@ -118,8 +118,12 @@ func Test_quotestar()
if has('macunix')
let skipped = Do_test_quotestar_for_macunix()
- elseif !empty("$DISPLAY")
- let skipped = Do_test_quotestar_for_x11()
+ elseif has('x11')
+ if empty($DISPLAY)
+ let skipped = "Test can only run when $DISPLAY is set."
+ else
+ let skipped = Do_test_quotestar_for_x11()
+ endif
else
let skipped = "Test is not implemented yet for this platform."
endif