mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
Fix test failure with new stretchr/testify - fixes #1550
This commit is contained in:
parent
5255cbf5e3
commit
db6009126d
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user