From be9a5aa47fcd72a1000ccf09b602f2500b0d00be Mon Sep 17 00:00:00 2001 From: DmitriyLewen Date: Mon, 25 Mar 2024 14:50:41 +0600 Subject: [PATCH] refactor(integration tests): remove unnecessary import changes --- integration/docker_engine_test.go | 3 +-- integration/repo_test.go | 3 +-- integration/standalone_tar_test.go | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/integration/docker_engine_test.go b/integration/docker_engine_test.go index b511efd684c7..35122b51c90a 100644 --- a/integration/docker_engine_test.go +++ b/integration/docker_engine_test.go @@ -5,13 +5,12 @@ package integration import ( "context" + "github.com/aquasecurity/trivy/pkg/types" "io" "os" "strings" "testing" - "github.com/aquasecurity/trivy/pkg/types" - api "github.com/docker/docker/api/types" "github.com/docker/docker/client" "github.com/stretchr/testify/assert" diff --git a/integration/repo_test.go b/integration/repo_test.go index e7a9cd72978a..ba11aa9ccb0f 100644 --- a/integration/repo_test.go +++ b/integration/repo_test.go @@ -4,12 +4,11 @@ package integration import ( "fmt" + "github.com/stretchr/testify/assert" "os" "strings" "testing" - "github.com/stretchr/testify/assert" - ftypes "github.com/aquasecurity/trivy/pkg/fanal/types" "github.com/aquasecurity/trivy/pkg/types" ) diff --git a/integration/standalone_tar_test.go b/integration/standalone_tar_test.go index 0d16990bda9f..67cd869ebf1a 100644 --- a/integration/standalone_tar_test.go +++ b/integration/standalone_tar_test.go @@ -3,13 +3,12 @@ package integration import ( + "github.com/aquasecurity/trivy/pkg/types" "os" "path/filepath" "strings" "testing" - "github.com/aquasecurity/trivy/pkg/types" - "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )