style: fix lint errors
This commit is contained in:
parent
2db1355d64
commit
d90e2bba34
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue