summaryrefslogtreecommitdiff
path: root/test/handler/test_shellcheck_handler.vader
diff options
context:
space:
mode:
authorHoracio Sanson <hsanson@gmail.com>2020-05-09 11:24:55 +0900
committerGitHub <noreply@github.com>2020-05-09 11:24:55 +0900
commitc2b01f0e28b4f007d01373821ba19dcfa440f9c2 (patch)
tree485795580d7e63e35d6b978a8967dfebfad00235 /test/handler/test_shellcheck_handler.vader
parent70005134e5b2d40d176ee5b851ac64a296b22201 (diff)
parentca97f32258cc6e3f32b5f7605801f053e7dbe320 (diff)
downloadale-c2b01f0e28b4f007d01373821ba19dcfa440f9c2.zip
Merge pull request #3134 from Ian2020/master
Add shellcheck as linter for bats files
Diffstat (limited to 'test/handler/test_shellcheck_handler.vader')
-rw-r--r--test/handler/test_shellcheck_handler.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/handler/test_shellcheck_handler.vader b/test/handler/test_shellcheck_handler.vader
index bfb73ffa..33f12989 100644
--- a/test/handler/test_shellcheck_handler.vader
+++ b/test/handler/test_shellcheck_handler.vader
@@ -22,7 +22,7 @@ Execute(The shellcheck handler should handle basic errors or warnings):
\ 'code': 'SC1068',
\ },
\ ],
- \ ale_linters#sh#shellcheck#Handle(bufnr(''), [
+ \ ale#handlers#shellcheck#Handle(bufnr(''), [
\ '-:2:1: warning: In POSIX sh, ''let'' is not supported. [SC2039]',
\ '-:2:3: error: Don''t put spaces around the = in assignments. [SC1068]',
\ ])
@@ -38,6 +38,6 @@ Execute(The shellcheck handler should handle notes):
\ 'code': 'SC2086',
\ },
\ ],
- \ ale_linters#sh#shellcheck#Handle(bufnr(''), [
+ \ ale#handlers#shellcheck#Handle(bufnr(''), [
\ '-:3:3: note: Double quote to prevent globbing and word splitting. [SC2086]',
\ ])