From c56690fc52615dc71243ddda42fd3447f6d6a3fe Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Fri, 9 Apr 2021 08:46:59 -0400 Subject: [PATCH] fix DpkgMetadata.Files test to ensure it is never nil Signed-off-by: Alex Goodman --- syft/pkg/cataloger/deb/parse_dpkg_status_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/syft/pkg/cataloger/deb/parse_dpkg_status_test.go b/syft/pkg/cataloger/deb/parse_dpkg_status_test.go index e0b53d6ee..f61b23058 100644 --- a/syft/pkg/cataloger/deb/parse_dpkg_status_test.go +++ b/syft/pkg/cataloger/deb/parse_dpkg_status_test.go @@ -110,6 +110,7 @@ func TestMultiplePackages(t *testing.T) { Architecture: "all", InstalledSize: 3036, Maintainer: "GNU Libc Maintainers ", + Files: []pkg.DpkgFileRecord{}, }, { Package: "util-linux",