diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-01-13 02:33:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 02:33:47 +0100 |
commit | 7523eb3ce46188df0c6f30ff7b0cfb1b87acc391 (patch) | |
tree | ff118183fe75981455255e30e672779f83acea8a /test/functional/provider | |
parent | daad3a5a79c96090f929d63d7d7c0e80f2077566 (diff) | |
parent | 8a7b6200fbaaafa13c1425faacecbd779d05d729 (diff) | |
download | rneovim-7523eb3ce46188df0c6f30ff7b0cfb1b87acc391.tar.gz rneovim-7523eb3ce46188df0c6f30ff7b0cfb1b87acc391.tar.bz2 rneovim-7523eb3ce46188df0c6f30ff7b0cfb1b87acc391.zip |
Merge #9495 from justinmk/release-0.3
release candidate 0.3.4
Diffstat (limited to 'test/functional/provider')
-rw-r--r-- | test/functional/provider/python3_spec.lua | 5 | ||||
-rw-r--r-- | test/functional/provider/python_spec.lua | 5 | ||||
-rw-r--r-- | test/functional/provider/ruby_spec.lua | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua index 5e73690986..3a33109079 100644 --- a/test/functional/provider/python3_spec.lua +++ b/test/functional/provider/python3_spec.lua @@ -11,8 +11,9 @@ do clear() if missing_provider('python3') then it(':python3 reports E319 if provider is missing', function() - expect_err([[Vim%(python3%):E319: No "python3" provider found.*]], - command, 'python3 print("foo")') + local expected = [[Vim%(py3.*%):E319: No "python3" provider found.*]] + expect_err(expected, command, 'py3 print("foo")') + expect_err(expected, command, 'py3file foo') end) pending('Python 3 (or the pynvim module) is broken/missing', function() end) return diff --git a/test/functional/provider/python_spec.lua b/test/functional/provider/python_spec.lua index 15df76d2f6..869cfd1721 100644 --- a/test/functional/provider/python_spec.lua +++ b/test/functional/provider/python_spec.lua @@ -19,8 +19,9 @@ do clear() if missing_provider('python') then it(':python reports E319 if provider is missing', function() - expect_err([[Vim%(python%):E319: No "python" provider found.*]], - command, 'python print("foo")') + local expected = [[Vim%(py.*%):E319: No "python" provider found.*]] + expect_err(expected, command, 'py print("foo")') + expect_err(expected, command, 'pyfile foo') end) pending('Python 2 (or the pynvim module) is broken/missing', function() end) return diff --git a/test/functional/provider/ruby_spec.lua b/test/functional/provider/ruby_spec.lua index 40cfe80b50..62ac91a929 100644 --- a/test/functional/provider/ruby_spec.lua +++ b/test/functional/provider/ruby_spec.lua @@ -19,8 +19,9 @@ do clear() 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"') + local expected = [[Vim%(ruby.*%):E319: No "ruby" provider found.*]] + expect_err(expected, command, 'ruby puts "foo"') + expect_err(expected, command, 'rubyfile foo') end) pending("Missing neovim RubyGem.", function() end) return |