diff options
Diffstat (limited to 'test/command_callback/test_ansible_lint_command_callback.vader')
-rw-r--r-- | test/command_callback/test_ansible_lint_command_callback.vader | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/command_callback/test_ansible_lint_command_callback.vader b/test/command_callback/test_ansible_lint_command_callback.vader deleted file mode 100644 index a3fbde23..00000000 --- a/test/command_callback/test_ansible_lint_command_callback.vader +++ /dev/null @@ -1,22 +0,0 @@ -Before: - call ale#assert#SetUpLinterTest('ansible', 'ansible_lint') - let b:bin_dir = has('win32') ? 'Scripts' : 'bin' - -After: - unlet! b:bin_dir - unlet! b:executable - call ale#assert#TearDownLinterTest() - -Execute(The ansible_lint version <5.0.0 command callback should return default string): - GivenCommandOutput ['v4.1.2'] - AssertLinter 'ansible-lint', ale#Escape('ansible-lint') . ' -p %t' - -Execute(The ansible_lint version >=5.0.0 command callback should return default string): - GivenCommandOutput ['v5.1.2'] - AssertLinter 'ansible-lint', ale#Escape('ansible-lint') . ' --parseable-severity -x yaml' - -Execute(The ansible_lint executable should be configurable): - let g:ale_ansible_ansible_lint_executable = '~/.local/bin/ansible-lint' - GivenCommandOutput ['v4.1.2'] - AssertLinter '~/.local/bin/ansible-lint', - \ ale#Escape('~/.local/bin/ansible-lint') . ' -p %t' |