From 82926a6a6892c667eda5a5334ad4204bdef570dc Mon Sep 17 00:00:00 2001 From: Danila Fominykh Date: Fri, 3 Nov 2023 15:59:59 -0300 Subject: [PATCH] linter and formatting fixes --- tests/integration/api_packages_arch_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/api_packages_arch_test.go b/tests/integration/api_packages_arch_test.go index 4c76b6867193c..96d4e254e48c8 100644 --- a/tests/integration/api_packages_arch_test.go +++ b/tests/integration/api_packages_arch_test.go @@ -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, @@ -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) { @@ -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()) }) }) }