mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Fix handler test, function name has changed
This commit is contained in:
@@ -22,7 +22,7 @@ Execute(The shellcheck handler should handle basic errors or warnings):
|
|||||||
\ 'code': 'SC1068',
|
\ '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:1: warning: In POSIX sh, ''let'' is not supported. [SC2039]',
|
||||||
\ '-:2:3: error: Don''t put spaces around the = in assignments. [SC1068]',
|
\ '-: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',
|
\ '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]',
|
\ '-:3:3: note: Double quote to prevent globbing and word splitting. [SC2086]',
|
||||||
\ ])
|
\ ])
|
||||||
|
|||||||
Reference in New Issue
Block a user