aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/python3_spec.lua
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2015-11-04 05:01:22 -0500
committerJohn Szakmeister <john@szakmeister.net>2015-11-04 05:01:22 -0500
commit690df9333a0267ebfa21cd53d4babf1fb7fc6401 (patch)
treefccb788c911fb3d41913b9a5e4ffa7da94f9379f /test/functional/provider/python3_spec.lua
parent4196d0b983d56ac598a30f955bca6d941b058046 (diff)
downloadrneovim-690df9333a0267ebfa21cd53d4babf1fb7fc6401.tar.gz
rneovim-690df9333a0267ebfa21cd53d4babf1fb7fc6401.tar.bz2
rneovim-690df9333a0267ebfa21cd53d4babf1fb7fc6401.zip
Ensure a session is running before attempting to do Python detection.
Diffstat (limited to 'test/functional/provider/python3_spec.lua')
-rw-r--r--test/functional/provider/python3_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua
index 5ecc1a0a91..a94880d4a2 100644
--- a/test/functional/provider/python3_spec.lua
+++ b/test/functional/provider/python3_spec.lua
@@ -4,6 +4,7 @@ local eq, clear, insert = helpers.eq, helpers.clear, helpers.insert
local expect, write_file = helpers.expect, helpers.write_file
do
+ clear()
command('let [g:interp, g:errors] = provider#pythonx#Detect(3)')
local errors = eval('g:errors')
if errors ~= '' then