summaryrefslogtreecommitdiff
path: root/test/linter
diff options
context:
space:
mode:
authorHenrik Farre <henrik-farre@users.noreply.github.com>2021-07-31 05:35:43 +0200
committerGitHub <noreply@github.com>2021-07-31 12:35:43 +0900
commit056fbd08f653dbf7a66d4e73f7b68646c697583f (patch)
tree47aef047861a239b5c256dd0bc90672d725096d9 /test/linter
parentdce088a4f07c55f7cff4eef90224fa85aa402877 (diff)
downloadale-056fbd08f653dbf7a66d4e73f7b68646c697583f.zip
Do not use tempfiles for ansible lint (#3846)
* Used %s instead of std in * Set lint_file to 1 for ansible-lint so it does not use temp files * Fix test for ansible-lint
Diffstat (limited to 'test/linter')
-rw-r--r--test/linter/test_ansible_lint.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/linter/test_ansible_lint.vader b/test/linter/test_ansible_lint.vader
index a35d8604..6fb8acb5 100644
--- a/test/linter/test_ansible_lint.vader
+++ b/test/linter/test_ansible_lint.vader
@@ -13,7 +13,7 @@ Execute(The ansible_lint version <5.0.0 command callback should return default s
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') . ' --nocolor --parseable-severity -x yaml -'
+ AssertLinter 'ansible-lint', ale#Escape('ansible-lint') . ' --nocolor --parseable-severity -x yaml %s'
Execute(The ansible_lint executable should be configurable):
let g:ale_ansible_ansible_lint_executable = '~/.local/bin/ansible-lint'