mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-13 14:37:18 +00:00
Fix lint issues in architecture variant tests
This commit is contained in:
1 parent
673b4f02d8
commit
8fb07c7e9c
2 files changed
+6
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user