Fix lint issues in architecture variant tests

This commit is contained in:
Hansjoerg Maurer authored and André Roth committed 2026-11-05 21:16:51 +01:00
1 parent 673b4f02d8
commit 8fb07c7e9c
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -14,7 +14,11 @@ func TestArchitectureVariantQueries(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer db.Close()
defer func() {
if err := db.Close(); err != nil {
t.Error(err)
}
}()
collection := deb.NewPackageCollection(db)
list := deb.NewPackageList()
const normal = "test-package_1.0_amd64"