Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Dec 6, 2024
1 parent 82221c2 commit 4ae669e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 27 deletions.
4 changes: 1 addition & 3 deletions e2e/aks-runtime/aks_runtime_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ import (

const testContainer = "testcontainer"

var (
imageReplacementsFile, namespaceFile, _platformStr string
)
var imageReplacementsFile, namespaceFile, _platformStr string

func TestAKSRuntime(t *testing.T) {
require := require.New(t)
Expand Down
4 changes: 1 addition & 3 deletions e2e/genpolicy/genpolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import (
"github.com/stretchr/testify/require"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

// TestGenpolicy runs regression tests for generated policies.
func TestGenpolicy(t *testing.T) {
Expand Down
4 changes: 1 addition & 3 deletions e2e/getdents/getdents_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ const (
getdent = "getdents-tester"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

func TestGetDEnts(t *testing.T) {
platform, err := platforms.FromString(platformStr)
Expand Down
4 changes: 1 addition & 3 deletions e2e/openssl/openssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ const (
rootCAFile = "coordinator-root-ca.pem"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

// TestOpenSSL runs e2e tests on the example OpenSSL deployment.
func TestOpenSSL(t *testing.T) {
Expand Down
4 changes: 1 addition & 3 deletions e2e/policy/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ const (
coordinatorPod = "coordinator-0"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

func TestPolicy(t *testing.T) {
platform, err := platforms.FromString(platformStr)
Expand Down
4 changes: 1 addition & 3 deletions e2e/regression/regression_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

func TestRegression(t *testing.T) {
yamlDir := "./e2e/regression/testdata/"
Expand Down
4 changes: 1 addition & 3 deletions e2e/servicemesh/servicemesh_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ import (
"github.com/stretchr/testify/require"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

// TestIngressEgress tests that the ingress and egress proxies work as configured.
func TestIngressEgress(t *testing.T) {
Expand Down
4 changes: 1 addition & 3 deletions e2e/volumestatefulset/volumestatefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ import (
"github.com/stretchr/testify/require"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

// TestWorkloadSecrets tests that secrets are correctly injected into workloads.
func TestVolumeStatefulSet(t *testing.T) {
Expand Down
4 changes: 1 addition & 3 deletions e2e/workloadsecret/workloadsecret_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ import (
"github.com/stretchr/testify/require"
)

var (
imageReplacementsFile, namespaceFile, platformStr string
)
var imageReplacementsFile, namespaceFile, platformStr string

// TestWorkloadSecrets tests that secrets are correctly injected into workloads.
func TestWorkloadSecrets(t *testing.T) {
Expand Down

0 comments on commit 4ae669e

Please sign in to comment.