Skip to content

Commit f28fa7b

Browse files
authored
Merge pull request #4623 from kersten/style/fix-indentation-in-e2e-test-suite
🐛 (go/v4): fix indentation of imports in test files
2 parents c554e05 + 31e29b6 commit f28fa7b

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

pkg/plugins/golang/deploy-image/v1alpha1/scaffolds/internal/templates/controllers/controller-test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ import (
6969
"os"
7070
"time"
7171
72-
//nolint:golint
73-
. "github.com/onsi/ginkgo/v2"
74-
. "github.com/onsi/gomega"
72+
. "github.com/onsi/ginkgo/v2"
73+
. "github.com/onsi/gomega"
74+
7575
appsv1 "k8s.io/api/apps/v1"
7676
corev1 "k8s.io/api/core/v1"
7777
"k8s.io/apimachinery/pkg/api/errors"

pkg/plugins/golang/v4/scaffolds/internal/templates/controllers/controller_suitetest.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ import (
138138
"path/filepath"
139139
"testing"
140140
141-
. "github.com/onsi/ginkgo/v2"
142-
. "github.com/onsi/gomega"
141+
. "github.com/onsi/ginkgo/v2"
142+
. "github.com/onsi/gomega"
143143
144144
"k8s.io/client-go/kubernetes/scheme"
145145
"k8s.io/client-go/rest"

pkg/plugins/golang/v4/scaffolds/internal/templates/test/e2e/suite.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ import (
5050
"os"
5151
"os/exec"
5252
53-
. "github.com/onsi/ginkgo/v2"
54-
. "github.com/onsi/gomega"
53+
. "github.com/onsi/ginkgo/v2"
54+
. "github.com/onsi/gomega"
5555
5656
"{{ .Repo }}/test/utils"
5757
)

pkg/plugins/golang/v4/scaffolds/internal/templates/webhooks/webhook_suitetest.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ import (
190190
"testing"
191191
"time"
192192
193-
. "github.com/onsi/ginkgo/v2"
194-
. "github.com/onsi/gomega"
193+
. "github.com/onsi/ginkgo/v2"
194+
. "github.com/onsi/gomega"
195195
196196
"k8s.io/client-go/kubernetes/scheme"
197197
"k8s.io/client-go/rest"

testdata/project-v4-multigroup/internal/controller/example.com/busybox_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"os"
2222
"time"
2323

24-
//nolint:golint
2524
. "github.com/onsi/ginkgo/v2"
2625
. "github.com/onsi/gomega"
26+
2727
appsv1 "k8s.io/api/apps/v1"
2828
corev1 "k8s.io/api/core/v1"
2929
"k8s.io/apimachinery/pkg/api/errors"

testdata/project-v4-multigroup/internal/controller/example.com/memcached_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"os"
2222
"time"
2323

24-
//nolint:golint
2524
. "github.com/onsi/ginkgo/v2"
2625
. "github.com/onsi/gomega"
26+
2727
appsv1 "k8s.io/api/apps/v1"
2828
corev1 "k8s.io/api/core/v1"
2929
"k8s.io/apimachinery/pkg/api/errors"

testdata/project-v4-with-plugins/internal/controller/busybox_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"os"
2222
"time"
2323

24-
//nolint:golint
2524
. "github.com/onsi/ginkgo/v2"
2625
. "github.com/onsi/gomega"
26+
2727
appsv1 "k8s.io/api/apps/v1"
2828
corev1 "k8s.io/api/core/v1"
2929
"k8s.io/apimachinery/pkg/api/errors"

testdata/project-v4-with-plugins/internal/controller/memcached_controller_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"os"
2222
"time"
2323

24-
//nolint:golint
2524
. "github.com/onsi/ginkgo/v2"
2625
. "github.com/onsi/gomega"
26+
2727
appsv1 "k8s.io/api/apps/v1"
2828
corev1 "k8s.io/api/core/v1"
2929
"k8s.io/apimachinery/pkg/api/errors"

0 commit comments

Comments
 (0)