Skip to content

Commit

Permalink
verifySimpleJsonScanResults fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orto17 committed Jul 23, 2023
1 parent 1e61695 commit 278d1ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xray_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ func testXrayAuditNpm(t *testing.T, format string) string {

func TestXrayAuditJasSimpleJson(t *testing.T) {
output := testXrayAuditJas(t, string(utils.SimpleJson), "jas")
verifySimpleJsonScanResults(t, output, 0, 0, 1, 1)
verifySimpleJsonScanResults(t, output, 1, 1)
verifySimpleJsonJasResults(t, output, 3, 2)
}

func TestXrayAuditJasNoViolationsSimpleJson(t *testing.T) {
output := testXrayAuditJas(t, string(utils.SimpleJson), "npm")
verifySimpleJsonScanResults(t, output, 0, 0, 1, 1)
verifySimpleJsonScanResults(t, output, 1, 1)
verifySimpleJsonJasResults(t, output, 0, 0)
}

Expand Down

0 comments on commit 278d1ba

Please sign in to comment.