summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-03-29 16:09:27 +0000
committerw0rp <devw0rp@gmail.com>2019-03-29 16:09:27 +0000
commit3eb6d7b3db5d76aae1d394f8615a52e1d4bee9fa (patch)
tree1a63b18cdf6160f279774ab992e58baf70c48b0c /test/handler
parente1e8f0dae12fc8603ab2e949f34bce8106fa3263 (diff)
downloadale-3eb6d7b3db5d76aae1d394f8615a52e1d4bee9fa.zip
#2395 - Handle empty output for redpen
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_redpen_handler.vader7
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(''), [])