mirror of
https://github.com/neovim/neovim.git
synced 2025-11-24 03:00:38 +00:00
test: :ruby reports E319 if provider is missing
This commit is contained in:
@@ -6,6 +6,7 @@ local curbufmeths = helpers.curbufmeths
|
|||||||
local eq = helpers.eq
|
local eq = helpers.eq
|
||||||
local eval = helpers.eval
|
local eval = helpers.eval
|
||||||
local expect = helpers.expect
|
local expect = helpers.expect
|
||||||
|
local expect_err = helpers.expect_err
|
||||||
local feed = helpers.feed
|
local feed = helpers.feed
|
||||||
local feed_command = helpers.feed_command
|
local feed_command = helpers.feed_command
|
||||||
local funcs = helpers.funcs
|
local funcs = helpers.funcs
|
||||||
@@ -17,6 +18,10 @@ local write_file = helpers.write_file
|
|||||||
do
|
do
|
||||||
clear()
|
clear()
|
||||||
if missing_provider('ruby') then
|
if missing_provider('ruby') then
|
||||||
|
it(':ruby reports E319 if provider is missing', function()
|
||||||
|
expect_err([[Vim%(ruby%):E319: No "ruby" provider found.*]],
|
||||||
|
command, 'ruby puts "foo"')
|
||||||
|
end)
|
||||||
pending("Missing neovim RubyGem.", function() end)
|
pending("Missing neovim RubyGem.", function() end)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user