diff options
author | w0rp <devw0rp@gmail.com> | 2019-03-29 16:09:27 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-03-29 16:09:27 +0000 |
commit | 3eb6d7b3db5d76aae1d394f8615a52e1d4bee9fa (patch) | |
tree | 1a63b18cdf6160f279774ab992e58baf70c48b0c /test/handler/test_redpen_handler.vader | |
parent | e1e8f0dae12fc8603ab2e949f34bce8106fa3263 (diff) | |
download | ale-3eb6d7b3db5d76aae1d394f8615a52e1d4bee9fa.zip |
#2395 - Handle empty output for redpen
Diffstat (limited to 'test/handler/test_redpen_handler.vader')
-rw-r--r-- | test/handler/test_redpen_handler.vader | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/handler/test_redpen_handler.vader b/test/handler/test_redpen_handler.vader index 4490bcba..0b030e2d 100644 --- a/test/handler/test_redpen_handler.vader +++ b/test/handler/test_redpen_handler.vader @@ -80,7 +80,7 @@ Execute(redpen handler should handle errors output): \ ']', \ ]) -Execute(redpen handler should no error output): +Execute(The redpen handler should handle an empty error list): AssertEqual \ [], \ ale#handlers#redpen#HandleRedpenOutput(bufnr(''), [ @@ -91,3 +91,8 @@ Execute(redpen handler should no error output): \ ' }', \ ']', \ ]) + +Execute(The redpen handler should handle totally empty output): + AssertEqual + \ [], + \ ale#handlers#redpen#HandleRedpenOutput(bufnr(''), []) |