Delete the redundant define test
This commit is contained in:
@@ -60,8 +60,8 @@ func TestServeWSPortForward(t *testing.T) {
|
||||
podNamespace := "other"
|
||||
podName := "foo"
|
||||
|
||||
for desc, test := range tests {
|
||||
test := test
|
||||
for desc := range tests {
|
||||
test := tests[desc]
|
||||
t.Run(desc, func(t *testing.T) {
|
||||
ss, err := newTestStreamingServer(0)
|
||||
require.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user