Skip to content

Commit 4772f0e

Browse files
authored
fix bsi license test for cdx bom (#665)
1 parent 22b7ec9 commit 4772f0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/compliance/bsiV11_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ func TestBSIComponentLicense(t *testing.T) {
14551455
assert.InDelta(t, 10.0, got.Score, 1e-9)
14561456
assert.Equal(t, COMP_LICENSE, got.CheckKey)
14571457
assert.Equal(t, common.UniqueElementID(c), got.ID)
1458-
assert.Equal(t, "Apache-2.0 (compliant)", got.CheckValue)
1458+
assert.Contains(t, []string{"Apache-2.0 (compliant)", "MIT (compliant)"}, got.CheckValue)
14591459
}
14601460
})
14611461

0 commit comments

Comments
 (0)