Provide correct default value to Proxy.New

Fixes regression from 6760ec46a2.
References #37.
This commit is contained in:
Andrew Gaul 2018-08-28 10:18:00 -07:00
parent 64ad54f670
commit 807a3c31c0
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ var _ = Suite(&CompyTest{})
func (s *CompyTest) SetUpSuite(c *C) {
s.server = httptest.NewServer(httpbin.GetMux())
s.proxy = proxy.New("localhost"+*host, nil)
s.proxy = proxy.New("localhost"+*host, "")
s.proxy.AddTranscoder("image/gif", &tc.Gif{})
s.proxy.AddTranscoder("image/jpeg", tc.NewJpeg(50))
s.proxy.AddTranscoder("image/png", &tc.Png{})