From 807a3c31c07eaa2e16dd77ec071dd98e14a88fc7 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 28 Aug 2018 10:18:00 -0700 Subject: [PATCH] Provide correct default value to Proxy.New Fixes regression from 6760ec46a2993dcc69ea0264065b741d85e77268. References #37. --- compy_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compy_test.go b/compy_test.go index 8a25180..00344a9 100644 --- a/compy_test.go +++ b/compy_test.go @@ -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{})