diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-12-12 02:38:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 02:38:08 +0100 |
commit | b9a441eb78349088d54eaa6e12c35aa06f0b1c6b (patch) | |
tree | 2c4baf45a88d58772382c99deb045897ce43e40d /test/functional/provider/python_spec.lua | |
parent | 5fee0be915525fe00519a17cccda2947dfdfbc6a (diff) | |
parent | 61d0dfee32ce9a9fb2497b02558df02eabb61d1b (diff) | |
download | rneovim-b9a441eb78349088d54eaa6e12c35aa06f0b1c6b.tar.gz rneovim-b9a441eb78349088d54eaa6e12c35aa06f0b1c6b.tar.bz2 rneovim-b9a441eb78349088d54eaa6e12c35aa06f0b1c6b.zip |
Merge #9354 from justinmk/provider-E319
provider: repurpose E319
Diffstat (limited to 'test/functional/provider/python_spec.lua')
-rw-r--r-- | test/functional/provider/python_spec.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/functional/provider/python_spec.lua b/test/functional/provider/python_spec.lua index 2fa74e9644..15df76d2f6 100644 --- a/test/functional/provider/python_spec.lua +++ b/test/functional/provider/python_spec.lua @@ -8,6 +8,7 @@ local funcs = helpers.funcs local meths = helpers.meths local insert = helpers.insert local expect = helpers.expect +local expect_err = helpers.expect_err local command = helpers.command local exc_exec = helpers.exc_exec local write_file = helpers.write_file @@ -17,7 +18,11 @@ local missing_provider = helpers.missing_provider do clear() if missing_provider('python') then - pending('Python 2 (or the neovim module) is broken/missing', function() end) + it(':python reports E319 if provider is missing', function() + expect_err([[Vim%(python%):E319: No "python" provider found.*]], + command, 'python print("foo")') + end) + pending('Python 2 (or the pynvim module) is broken/missing', function() end) return end end |