diff options
author | w0rp <devw0rp@gmail.com> | 2018-09-06 09:23:36 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-09-06 09:23:36 +0100 |
commit | f8beaa9e3e5e6a723ce33deba8b71acb2c9dd1a1 (patch) | |
tree | cf8f585cd82f98cd0c071349b300847ae79e0a1a /test/handler/test_perl_handler.vader | |
parent | d476578a402763f2c6e4e0ada2eb345d0ac938d7 (diff) | |
download | ale-f8beaa9e3e5e6a723ce33deba8b71acb2c9dd1a1.zip |
Fix #1866 - Handle empty output from Perl
Diffstat (limited to 'test/handler/test_perl_handler.vader')
-rw-r--r-- | test/handler/test_perl_handler.vader | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/handler/test_perl_handler.vader b/test/handler/test_perl_handler.vader index c5791d76..e769550c 100644 --- a/test/handler/test_perl_handler.vader +++ b/test/handler/test_perl_handler.vader @@ -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') |