From 103ff26c0ae76491c73a6c078b52f2e56af16fb8 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 17 Dec 2017 15:53:11 +0100 Subject: provider/nodejs: check version in Detect() --- test/functional/provider/nodejs_spec.lua | 4 +--- test/functional/provider/ruby_spec.lua | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/functional/provider/nodejs_spec.lua b/test/functional/provider/nodejs_spec.lua index ef563dd0b0..0a12b1a154 100644 --- a/test/functional/provider/nodejs_spec.lua +++ b/test/functional/provider/nodejs_spec.lua @@ -9,9 +9,7 @@ local retry = helpers.retry do clear() if missing_provider('node') then - pending( - "Cannot find the neovim nodejs host. Try :checkhealth", - function() end) + pending("Missing nodejs host, or nodejs version is too old.", function()end) return end end diff --git a/test/functional/provider/ruby_spec.lua b/test/functional/provider/ruby_spec.lua index c70f90da1c..a2c6c6a10e 100644 --- a/test/functional/provider/ruby_spec.lua +++ b/test/functional/provider/ruby_spec.lua @@ -15,9 +15,7 @@ local missing_provider = helpers.missing_provider do clear() if missing_provider('ruby') then - pending( - "Cannot find the neovim RubyGem. Try :checkhealth", - function() end) + pending("Missing neovim RubyGem.", function() end) return end end -- cgit