diff --git a/test/integration/match_by_image_test.go b/test/integration/match_by_image_test.go index 60ef75800de0..56cbc5004f91 100644 --- a/test/integration/match_by_image_test.go +++ b/test/integration/match_by_image_test.go @@ -168,7 +168,7 @@ func addPythonMatches(t *testing.T, theSource source.Source, catalog *syftPkg.Co func addDotnetMatches(t *testing.T, theSource source.Source, catalog *syftPkg.Collection, theStore *mockStore, theResult *match.Matches) { packages := catalog.PackagesByPath("/dotnet/TestLibrary.deps.json") - if len(packages) != 1 { + if len(packages) != 2 { // TestLibrary + AWSSDK.Core for _, p := range packages { t.Logf("Dotnet Package: %s %+v", p.ID(), p) }