mirror of
https://git.phreedom.club/localhost_frssoft/compy.git
synced 2024-11-27 10:31:31 +00:00
Provide correct default value to Proxy.New
Fixes regression from 6760ec46a2
.
References #37.
This commit is contained in:
parent
64ad54f670
commit
807a3c31c0
|
@ -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{})
|
||||
|
|
Loading…
Reference in a new issue