diff --git a/rest/request_test.go b/rest/request_test.go index e26562bb..747de7cb 100644 --- a/rest/request_test.go +++ b/rest/request_test.go @@ -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) {