diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-02-12 04:19:03 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-02-12 13:24:48 +0100 |
commit | 0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd (patch) | |
tree | 0b981530727d265e953906658dc969a9245c3538 | |
parent | 9e9e4431c122f3b98fb0e7498b6572ceac0bca53 (diff) | |
download | rneovim-0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd.tar.gz rneovim-0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd.tar.bz2 rneovim-0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd.zip |
test/python: less-noisy Python skip-message
Developer can use :checkhealth to get more details, don't need to blast
the details in the skip-message every time.
-rw-r--r-- | test/functional/provider/python3_spec.lua | 7 | ||||
-rw-r--r-- | test/functional/provider/python_spec.lua | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua index aa50f53451..f06728ec0e 100644 --- a/test/functional/provider/python3_spec.lua +++ b/test/functional/provider/python3_spec.lua @@ -7,11 +7,8 @@ local missing_provider = helpers.missing_provider do clear() - local err = missing_provider('python3') - if err then - pending( - 'Python 3 (or the Python 3 neovim module) is broken or missing:\n' .. err, - function() end) + if missing_provider('python3') then + pending('Python 3 (or the neovim module) is broken/missing', function() end) return end end diff --git a/test/functional/provider/python_spec.lua b/test/functional/provider/python_spec.lua index 25f5e0a6d0..2fa74e9644 100644 --- a/test/functional/provider/python_spec.lua +++ b/test/functional/provider/python_spec.lua @@ -16,11 +16,8 @@ local missing_provider = helpers.missing_provider do clear() - local err = missing_provider('python') - if err then - pending( - 'Python 2 (or the Python 2 neovim module) is broken or missing:\n' .. err, - function() end) + if missing_provider('python') then + pending('Python 2 (or the neovim module) is broken/missing', function() end) return end end |