From d41846ede268bee831be6d9859a0c45dfe6648bb Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Thu, 11 May 2023 22:35:38 +0000 Subject: [PATCH] Fix parameters --- distro/debian/snapshot/snapshot_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/distro/debian/snapshot/snapshot_test.go b/distro/debian/snapshot/snapshot_test.go index 9172b19..d512705 100644 --- a/distro/debian/snapshot/snapshot_test.go +++ b/distro/debian/snapshot/snapshot_test.go @@ -20,7 +20,8 @@ func TestSourcePackageVersions(t *testing.T) { func TestPackages(t *testing.T) { packages, err := Packages("linux", "3.16.5-1", "amd64", - `^linux-(image|headers)-[0-9\.\-]*-(amd64|amd64-unsigned)$`) + `^linux-(image|headers)-[0-9\.\-]*-(amd64|amd64-unsigned)$`, + []string{}) if err != nil { t.Fatal(err) }