mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-13 21:15:27 +00:00
Merge pull request #118010 from aimuz/cleanup
cleanup: duplicate request_test TestRequestAbsPathPreservesTrailingSlash Kubernetes-commit: 823e0f77e8a736718bd88bfaa87226186dcaae25
This commit is contained in:
commit
d31edad7e2
@ -139,11 +139,6 @@ func TestRequestAbsPathPreservesTrailingSlash(t *testing.T) {
|
||||
if s := r.URL().String(); s != "/foo/" {
|
||||
t.Errorf("trailing slash should be preserved: %s", s)
|
||||
}
|
||||
|
||||
r = (&Request{c: &RESTClient{base: &url.URL{}}}).AbsPath("/foo/")
|
||||
if s := r.URL().String(); s != "/foo/" {
|
||||
t.Errorf("trailing slash should be preserved: %s", s)
|
||||
}
|
||||
}
|
||||
|
||||
func TestRequestAbsPathJoins(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user