mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-16 11:01:29 +08:00
Fix #1866 - Handle empty output from Perl
This commit is contained in:
2 files changed
+9
No files matched your search
@@ -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