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)
a683ec44c3
This commit is contained in:
ckelsel 2018-05-30 09:01:19 +08:00
parent bce3e95691
commit 6a0c727a0b

View File

@ -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