summaryrefslogtreecommitdiff
path: root/test/test_dockerfile_hadolint_linter.vader
diff options
context:
space:
mode:
authorinfokiller <infokiller@users.noreply.github.com>2021-04-10 15:17:55 +0300
committerGitHub <noreply@github.com>2021-04-10 21:17:55 +0900
commit686c8c5e0acbf3cbf50f1b11eafadd759b017f4a (patch)
treeda49bf99209ff3c1996260b609c5d8210440fc2f /test/test_dockerfile_hadolint_linter.vader
parentcec9954d016e4d388cd6a9abed798de7f330d185 (diff)
downloadale-686c8c5e0acbf3cbf50f1b11eafadd759b017f4a.zip
hadolint: fix color output and stdin shown as "-" (#3680)
Diffstat (limited to 'test/test_dockerfile_hadolint_linter.vader')
-rw-r--r--test/test_dockerfile_hadolint_linter.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_dockerfile_hadolint_linter.vader b/test/test_dockerfile_hadolint_linter.vader
index 882e1a6c..c568f61f 100644
--- a/test/test_dockerfile_hadolint_linter.vader
+++ b/test/test_dockerfile_hadolint_linter.vader
@@ -55,7 +55,7 @@ Execute(command is correct when using docker):
let b:ale_dockerfile_hadolint_use_docker = 'always'
AssertEqual
- \ "docker run --rm -i hadolint/hadolint",
+ \ "docker run --rm -i hadolint/hadolint hadolint --no-color -",
\ ale_linters#dockerfile#hadolint#GetCommand(bufnr(''))
@@ -63,7 +63,7 @@ Execute(command is correct when not docker):
let b:ale_dockerfile_hadolint_use_docker = 'never'
AssertEqual
- \ "hadolint -",
+ \ "hadolint --no-color -",
\ ale_linters#dockerfile#hadolint#GetCommand(bufnr(''))
Execute(test warnings from hadolint):