Skip to content

Commit

Permalink
linter and formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thionic committed Nov 3, 2023
1 parent 41f4814 commit 82926a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/api_packages_arch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ func TestPackageArch(t *testing.T) {
BuildArchPackage(t, "dash", "2-1", "any"),
}

database_x86_64 = BuildPacmanDb(t,
PacmanDBx86 = BuildPacmanDb(t,
secondDatabaseBatch[0].Pkg,
firstDatabaseBatch[2].Pkg,
secondDatabaseBatch[2].Pkg,
)

database_i686 = BuildPacmanDb(t,
PacmanDBi686 = BuildPacmanDb(t,
firstDatabaseBatch[0].Pkg,
secondDatabaseBatch[1].Pkg,
secondDatabaseBatch[2].Pkg,
Expand Down Expand Up @@ -254,7 +254,7 @@ func TestPackageArch(t *testing.T) {
req := NewRequest(t, "GET", url)
resp := MakeRequest(t, req, http.StatusOK)

CompareTarGzEntries(t, database_x86_64, resp.Body.Bytes())
CompareTarGzEntries(t, PacmanDBx86, resp.Body.Bytes())
})

t.Run("i686", func(t *testing.T) {
Expand All @@ -266,7 +266,7 @@ func TestPackageArch(t *testing.T) {
req := NewRequest(t, "GET", url)
resp := MakeRequest(t, req, http.StatusOK)

CompareTarGzEntries(t, database_i686, resp.Body.Bytes())
CompareTarGzEntries(t, PacmanDBi686, resp.Body.Bytes())
})
})
}
Expand Down

0 comments on commit 82926a6

Please sign in to comment.