Fix brakeman handler when there is no output

This commit is contained in:
Gabriel Sobrinho
2017-07-01 11:18:21 -03:00
parent 3f1cab3e7e
commit 29746d492e
2 changed files with 10 additions and 0 deletions

View File

@@ -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, [
\ ])