summaryrefslogtreecommitdiff
path: root/test/handler
diff options
context:
space:
mode:
authorFenner Macrae <13209544+fennerm@users.noreply.github.com>2018-06-26 16:58:34 -0700
committerFenner Macrae <13209544+fennerm@users.noreply.github.com>2018-06-26 16:58:34 -0700
commit1ca233484604eea2a1fc2027c6dfc8d7a90f5f89 (patch)
treed9e0f19e443abfdbf696a15384e2a6eb12e71437 /test/handler
parentc2ab8853849d1fc64d448d6e65920c988ca9c0fa (diff)
downloadale-1ca233484604eea2a1fc2027c6dfc8d7a90f5f89.zip
Fix prospector empty string error
Prospector linter is raising error when no warnings are present in file (#1680). Copied fix from #779.
Diffstat (limited to 'test/handler')
-rw-r--r--test/handler/test_prospector_handler.vader5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/handler/test_prospector_handler.vader b/test/handler/test_prospector_handler.vader
index 7962f6cd..935c37da 100644
--- a/test/handler/test_prospector_handler.vader
+++ b/test/handler/test_prospector_handler.vader
@@ -156,3 +156,8 @@ Execute(Ignoring trailing whitespace messages should work):
\ ' ]',
\ '}',
\ ])
+
+Execute(The prospector handler should handle empty output):
+ AssertEqual
+ \ [],
+ \ ale_linters#python#prospector#Handle(bufnr(''), [])