From db6009126df98a0a35975ca2fb7271a8493e1e30 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 23 Jul 2017 08:59:07 +0100 Subject: [PATCH] Fix test failure with new stretchr/testify - fixes #1550 --- fs/http_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/http_test.go b/fs/http_test.go index a1e2c55f3..8f5fab1cf 100644 --- a/fs/http_test.go +++ b/fs/http_test.go @@ -24,8 +24,8 @@ func TestSetDefaults(t *testing.T) { assert.Equal(t, ptr(old.Proxy), ptr(new.Proxy), "when checking .Proxy") assert.Equal(t, ptr(old.DialContext), ptr(new.DialContext), "when checking .DialContext") // Check the other public fields - assert.Equal(t, old.Dial, new.Dial, "when checking .Dial") - assert.Equal(t, old.DialTLS, new.DialTLS, "when checking .DialTLS") + assert.Equal(t, ptr(old.Dial), ptr(new.Dial), "when checking .Dial") + assert.Equal(t, ptr(old.DialTLS), ptr(new.DialTLS), "when checking .DialTLS") assert.Equal(t, old.TLSClientConfig, new.TLSClientConfig, "when checking .TLSClientConfig") assert.Equal(t, old.TLSHandshakeTimeout, new.TLSHandshakeTimeout, "when checking .TLSHandshakeTimeout") assert.Equal(t, old.DisableKeepAlives, new.DisableKeepAlives, "when checking .DisableKeepAlives")