#2395 - Handle empty output for redpen

This commit is contained in:
w0rp committed 2019-03-29 16:09:27 +00:00
1 parent e1e8f0dae1
commit 3eb6d7b3db
3 files changed
+13 -5

No files matched your search

+6 -1
View File
@@ -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(''), [])