mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 05:04:28 +08:00
Fix #1866 - Handle empty output from Perl
This commit is contained in:
@@ -7,6 +7,11 @@ After:
|
||||
call ale#test#RestoreDirectory()
|
||||
call ale#linter#Reset()
|
||||
|
||||
Execute(The Perl linter should handle empty output):
|
||||
call ale#test#SetFilename('bar.pl')
|
||||
|
||||
AssertEqual [], ale_linters#perl#perl#Handle(bufnr(''), [])
|
||||
|
||||
Execute(The Perl linter should ignore errors from other files):
|
||||
call ale#test#SetFilename('bar.pl')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user