Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Commit e6f8fbe

Browse files
committed
Refactor test
Signed-off-by: Aaron Hoffman <[email protected]>
1 parent 4928e6d commit e6f8fbe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkg/utils/kube/kube_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,11 @@ spec:
179179
}
180180

181181
func TestGetResourceImages(t *testing.T) {
182-
type testCase struct {
182+
testCases := []struct {
183183
manifest []byte
184184
expected []string
185185
description string
186-
}
187-
188-
testCases := []testCase{
186+
}{
189187
{
190188
manifest: []byte(`
191189
apiVersion: extensions/v1beta2

0 commit comments

Comments
 (0)