Delete the redundant define test

This commit is contained in:
qingsenLi
2019-06-01 00:00:02 +08:00
parent f49fe2a750
commit 94e4f27725
2 changed files with 6 additions and 6 deletions

View File

@@ -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)