mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-28 14:56:52 +08:00
Fix prospector empty string error
Prospector linter is raising error when no warnings are present in file (#1680). Copied fix from #779.
This commit is contained in:
@@ -156,3 +156,8 @@ Execute(Ignoring trailing whitespace messages should work):
|
||||
\ ' ]',
|
||||
\ '}',
|
||||
\ ])
|
||||
|
||||
Execute(The prospector handler should handle empty output):
|
||||
AssertEqual
|
||||
\ [],
|
||||
\ ale_linters#python#prospector#Handle(bufnr(''), [])
|
||||
|
||||
Reference in New Issue
Block a user