functests: Replace check_provider -> missing_provider with err report

This commit is contained in:
ZyX
2017-05-12 20:47:33 +03:00
parent 50398e10fe
commit 19d38c4d0f
5 changed files with 18 additions and 16 deletions

View File

@@ -10,11 +10,11 @@ local expect = helpers.expect
local command = helpers.command
local write_file = helpers.write_file
local curbufmeths = helpers.curbufmeths
local check_provider = helpers.check_provider
local missing_provider = helpers.missing_provider
do
clear()
if not check_provider('ruby') then
if missing_provider('ruby') then
pending(
"Cannot find the neovim RubyGem. Try :CheckHealth",
function() end)