chore: added initial tests for json output

Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
Thomas Schuetz
2023-04-05 14:08:23 +02:00
parent db40734a0d
commit 22e31661bf
3 changed files with 126 additions and 1 deletions

View File

@@ -103,7 +103,7 @@ func (a *Analysis) JsonOutput() ([]byte, error) {
}
result := JsonOutput{
Problems: len(a.Results),
Problems: problems,
Results: a.Results,
Status: status,
}