summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorNathan Henrie <n8henrie@users.noreply.github.com>2021-03-17 16:55:50 -0700
committerGitHub <noreply@github.com>2021-03-18 08:55:50 +0900
commited7f4dee532718bd299c42738a3631824b37b5d0 (patch)
tree64504b895cfb191ea881bb261057b9eac5ba53f7 /test/command_callback
parentdc40ece3c389804df6d9423e0d52c8da2355ea17 (diff)
downloadale-ed7f4dee532718bd299c42738a3631824b37b5d0.zip
issue 3033 (#3620)
* Add ale_python_pyls_options * Add extra explanatory detail * Fix alignment * Fix test
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_pyls_command_callback.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/command_callback/test_pyls_command_callback.vader b/test/command_callback/test_pyls_command_callback.vader
index aff2fcd7..c03b8aeb 100644
--- a/test/command_callback/test_pyls_command_callback.vader
+++ b/test/command_callback/test_pyls_command_callback.vader
@@ -17,6 +17,11 @@ Execute(The pyls executable should be configurable):
AssertLinter '~/.local/bin/pyls' , ale#Escape('~/.local/bin/pyls')
+Execute(The pyls command callback should let you set options):
+ let g:ale_python_pyls_options = '--some-option'
+
+ AssertLinter 'pyls', ale#Escape('pyls') . ' --some-option'
+
Execute(The pyls executable should be run from the virtualenv path):
call ale#test#SetFilename('python_paths/with_virtualenv/subdir/foo/bar.py')