- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestTrimURLPath (0.12 sec)
-
pkg/kubelet/server/server_test.go
assert.Equal(t, http.StatusMethodNotAllowed, resp.StatusCode) body, err = io.ReadAll(resp.Body) require.NoError(t, err) assert.Equal(t, expectedResponse, string(body)) } func TestTrimURLPath(t *testing.T) { tests := []struct { path, expected string }{ {"", ""}, {"//", ""}, {"/pods", "pods"}, {"pods", "pods"}, {"pods/", "pods"}, {"good/", "good"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0)