Fix #1866 - Handle empty output from Perl

This commit is contained in:
w0rp committed 2018-09-06 09:23:36 +01:00
1 parent d476578a40
commit f8beaa9e3e
2 files changed
+9

No files matched your search

+5
View File
@@ -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')