From 6a0c727a0bf8c7812ca39e60caa55b8836df2919 Mon Sep 17 00:00:00 2001 From: ckelsel Date: Wed, 30 May 2018 09:01:19 +0800 Subject: 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 --- src/nvim/testdir/test_quotestar.vim | 8 ++++++-- 1 file 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 -- cgit