From feaa224dce23576b0fbc195d655f4974cf6da457 Mon Sep 17 00:00:00 2001 From: Pablo Radnic Date: Wed, 2 Jun 2021 13:09:33 -0300 Subject: [PATCH] Format fix Signed-off-by: Pablo Radnic --- test/memcached/cache_impl_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/memcached/cache_impl_test.go b/test/memcached/cache_impl_test.go index c9173e20..d663f675 100644 --- a/test/memcached/cache_impl_test.go +++ b/test/memcached/cache_impl_test.go @@ -605,7 +605,9 @@ func TestNewRateLimitCacheImplFromSettingsWhenSrvCannotBeResolved(t *testing.T) s.ExpirationJitterMaxSeconds = 300 s.MemcacheSrv = "_something._tcp.example.invalid" - assert.Panics(func() { memcached.NewRateLimitCacheImplFromSettings(s, timeSource, nil, nil, statsStore, mockstats.NewMockStatManager(statsStore)) }) + assert.Panics(func() { + memcached.NewRateLimitCacheImplFromSettings(s, timeSource, nil, nil, statsStore, mockstats.NewMockStatManager(statsStore)) + }) } func TestNewRateLimitCacheImplFromSettingsWhenHostAndPortAndSrvAreBothSet(t *testing.T) { @@ -623,7 +625,9 @@ func TestNewRateLimitCacheImplFromSettingsWhenHostAndPortAndSrvAreBothSet(t *tes s.MemcacheSrv = "_something._tcp.example.invalid" s.MemcacheHostPort = []string{"example.org:11211"} - assert.Panics(func() { memcached.NewRateLimitCacheImplFromSettings(s, timeSource, nil, nil, statsStore, mockstats.NewMockStatManager(statsStore)) }) + assert.Panics(func() { + memcached.NewRateLimitCacheImplFromSettings(s, timeSource, nil, nil, statsStore, mockstats.NewMockStatManager(statsStore)) + }) } func getMultiResult(vals map[string]int) map[string]*memcache.Item {