From e92ed19424911e95959eb686b71157bf9ed296fd Mon Sep 17 00:00:00 2001 From: Will Norris Date: Thu, 26 Jul 2018 21:11:08 -0700 Subject: [PATCH] fix build, but break tests --- imageproxy.go | 1 + imageproxy_test.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/imageproxy.go b/imageproxy.go index 3629a12..a7fdc55 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -17,6 +17,7 @@ package imageproxy // import "willnorris.com/go/imageproxy" import ( + "bufio" "bytes" "crypto/hmac" "crypto/sha256" diff --git a/imageproxy_test.go b/imageproxy_test.go index aa5878a..c5034fd 100644 --- a/imageproxy_test.go +++ b/imageproxy_test.go @@ -42,7 +42,7 @@ func TestCopyHeader(t *testing.T) { // nothing to copy { - dst: http.Header{"A": []string{"a1"}}, + dst: http.Header{"A": []string{"a"}}, src: http.Header{}, keys: nil, want: http.Header{"A": []string{"a1"}},