summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGabriel Sobrinho <gabriel.sobrinho@gmail.com>2017-07-01 11:18:21 -0300
committerGabriel Sobrinho <gabriel.sobrinho@gmail.com>2017-07-01 11:18:21 -0300
commit29746d492ef05a527c13cd1f835aaa9153eb8ff4 (patch)
treeddc9550a8e0a5af1fdc3f7a6f8d130837e18ad3e /test
parent3f1cab3e7ee3d7e90062e32e7d8c9557077c08a8 (diff)
downloadale-29746d492ef05a527c13cd1f835aaa9153eb8ff4.zip
Fix brakeman handler when there is no output
Diffstat (limited to 'test')
-rw-r--r--test/handler/test_brakeman_handler.vader6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/handler/test_brakeman_handler.vader b/test/handler/test_brakeman_handler.vader
index bc7182e3..6a577beb 100644
--- a/test/handler/test_brakeman_handler.vader
+++ b/test/handler/test_brakeman_handler.vader
@@ -73,3 +73,9 @@ Execute(The brakeman handler should parse JSON correctly):
\ ']',
\ '}'
\ ])
+
+Execute(The brakeman handler should parse JSON correctly when there is no output from brakeman):
+ AssertEqual
+ \ [],
+ \ ale_linters#ruby#brakeman#Handle(347, [
+ \ ])