mirror of
https://github.com/neovim/neovim.git
synced 2026-07-16 22:21:30 +00:00
test: cherry-pick improvements from master branch
Partial cherry-pick of b3686b1597.
* test/functional/provider: display reason from missing_provider
* provider#node#Detect: skip / handle non-existing node executable
This commit is contained in:
committed by
Justin M. Keyes
parent
1b2666cd21
commit
23a64c95d8
@@ -8,8 +8,9 @@ local retry = helpers.retry
|
||||
|
||||
do
|
||||
clear()
|
||||
if missing_provider('node') then
|
||||
pending("Missing nodejs host, or nodejs version is too old.", function()end)
|
||||
local reason = missing_provider('node')
|
||||
if reason then
|
||||
pending(string.format("Missing nodejs host, or nodejs version is too old (%s)", reason), function() end)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user