From d90e2bba34923714050573500cd1cbae126cf56d Mon Sep 17 00:00:00 2001 From: Maxim Slipenko Date: Tue, 31 Dec 2024 21:10:20 +0300 Subject: [PATCH] style: fix lint errors --- tests/integration/reposervice_forceupdate_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/reposervice_forceupdate_test.go b/tests/integration/reposervice_forceupdate_test.go index a0f157c..d2e12bc 100644 --- a/tests/integration/reposervice_forceupdate_test.go +++ b/tests/integration/reposervice_forceupdate_test.go @@ -6,9 +6,10 @@ import ( "path" "testing" + "github.com/stretchr/testify/assert" + "code.alt-gnome.ru/aides-infra/aides-repo-api/internal/models" "code.alt-gnome.ru/aides-infra/aides-repo-api/internal/services/reposervice" - "github.com/stretchr/testify/assert" ) func TestRepoService_ForceUpdate(t *testing.T) { @@ -30,6 +31,7 @@ func TestRepoService_ForceUpdate(t *testing.T) { assert.NoError(t, err) defer destination.Close() _, err = io.Copy(destination, source) + assert.NoError(t, err) source.Close() destination.Close()