diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-09 10:54:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 10:54:07 -0700 |
commit | 853683e72a780afef3ecebd8d46e32983abe1798 (patch) | |
tree | 911dd8fe1c894ea27eb401091882fdab4a433dd3 /test/functional/provider/python_spec.lua | |
parent | 225941ddd0b85a7570fe29a993868e4f5948c1f4 (diff) | |
download | rneovim-853683e72a780afef3ecebd8d46e32983abe1798.tar.gz rneovim-853683e72a780afef3ecebd8d46e32983abe1798.tar.bz2 rneovim-853683e72a780afef3ecebd8d46e32983abe1798.zip |
provider: has("python3_dynamic") et al. #10980
Vim added more flags for testing yet more dimensions of its Python
situation. Handle those in eval_has_provider().
vim-patch:8.0.1436: not enough information about what Python version may work
Problem: Not enough information about what Python version may work.
Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and
"python3_dynamic" values for has().
ref: https://github.com/neovim/neovim/pull/10942#issuecomment-529479500
Diffstat (limited to 'test/functional/provider/python_spec.lua')
-rw-r--r-- | test/functional/provider/python_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/provider/python_spec.lua b/test/functional/provider/python_spec.lua index eab4b29d3a..986f10b2e9 100644 --- a/test/functional/provider/python_spec.lua +++ b/test/functional/provider/python_spec.lua @@ -37,6 +37,10 @@ end) describe('python feature test', function() it('works', function() eq(1, funcs.has('python')) + eq(1, funcs.has('python_compiled')) + eq(1, funcs.has('python_dynamic')) + eq(0, funcs.has('python_dynamic_')) + eq(0, funcs.has('python_')) end) end) |