Merge pull request #118010 from aimuz/cleanup

cleanup: duplicate request_test TestRequestAbsPathPreservesTrailingSlash
This commit is contained in:
Kubernetes Prow Robot 2023-07-06 09:13:04 -07:00 committed by GitHub
commit 823e0f77e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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