mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
functests: Replace check_provider -> missing_provider with err report
This commit is contained in:
@@ -3,13 +3,14 @@ local eval, command, feed = helpers.eval, helpers.command, helpers.feed
|
||||
local eq, clear, insert = helpers.eq, helpers.clear, helpers.insert
|
||||
local expect, write_file = helpers.expect, helpers.write_file
|
||||
local feed_command = helpers.feed_command
|
||||
local check_provider = helpers.check_provider
|
||||
local missing_provider = helpers.missing_provider
|
||||
|
||||
do
|
||||
clear()
|
||||
if not check_provider('python3') then
|
||||
local err = missing_provider('python3')
|
||||
if err then
|
||||
pending(
|
||||
'Python 3 (or the Python 3 neovim module) is broken or missing:\n' .. errors,
|
||||
'Python 3 (or the Python 3 neovim module) is broken or missing:\n' .. err,
|
||||
function() end)
|
||||
return
|
||||
end
|
||||
|
Reference in New Issue
Block a user