From 822a615c6c22b92a45869a6aee43eab82ce30e61 Mon Sep 17 00:00:00 2001 From: Viacheslav Biriukov Date: Thu, 4 Jun 2015 14:02:52 +0000 Subject: [PATCH] rollback tests --- middleware/proxy/proxy_test.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/middleware/proxy/proxy_test.go b/middleware/proxy/proxy_test.go index 8ca5df1d..6fb6a899 100644 --- a/middleware/proxy/proxy_test.go +++ b/middleware/proxy/proxy_test.go @@ -149,9 +149,3 @@ func (c *fakeConn) SetWriteDeadline(t time.Time) error { return nil } func (c *fakeConn) Close() error { return nil } func (c *fakeConn) Read(b []byte) (int, error) { return c.readBuf.Read(b) } func (c *fakeConn) Write(b []byte) (int, error) { return c.writeBuf.Write(b) } - -func newWithoutPathPrefixTestProxy(backendAddr string) *Proxy { - return &Proxy{ - Upstreams: []Upstream{&fakeUpstreamWithoutPathPrefix{from: "/api/messages", withoutPathPrefix: "/api"}}, - } -}