@@ -106,7 +106,7 @@ func TestBaseStorage_Store(t *testing.T) {
106106
107107 bs := mockCommonProvider ()
108108
109- e := bs .Store (& res , "((((invalid_key_but_escaped" , "" , "" )
109+ e := bs .Store (& res , "((((invalid_key_but_escaped" , "" )
110110 if e != nil {
111111 t .Error ("It shouldn't throw an error with a valid key." )
112112 }
@@ -116,7 +116,7 @@ func TestBaseStorage_Store(t *testing.T) {
116116 _ = bs .Storage .Set ("test5" , []byte ("first,second,fifth" ), storageToInfiniteTTLMap [bs .Storage .Name ()])
117117 _ = bs .Storage .Set ("testInvalid" , []byte ("invalid" ), storageToInfiniteTTLMap [bs .Storage .Name ()])
118118
119- if e = bs .Store (& res , "stored" , "" , "" ); e != nil {
119+ if e = bs .Store (& res , "stored" , "" ); e != nil {
120120 t .Error ("It shouldn't throw an error with a valid key." )
121121 }
122122
@@ -133,10 +133,10 @@ func TestBaseStorage_Store(t *testing.T) {
133133 }
134134
135135 res .Header .Set (surrogateKey , "something" )
136- _ = bs .Store (& res , "/something" , "" , "" )
137- _ = bs .Store (& res , "/something" , "" , "" )
136+ _ = bs .Store (& res , "/something" , "" )
137+ _ = bs .Store (& res , "/something" , "" )
138138 res .Header .Set (surrogateKey , "something" )
139- _ = bs .Store (& res , "/some" , "" , "" )
139+ _ = bs .Store (& res , "/some" , "" )
140140
141141 _ = len (bs .Storage .MapKeys (surrogatePrefix ))
142142 // if storageSize != 6 {
@@ -161,7 +161,7 @@ func TestBaseStorage_Store_Load(t *testing.T) {
161161 wg .Add (1 )
162162 go func (r http.Response , iteration int , group * sync.WaitGroup ) {
163163 defer wg .Done ()
164- _ = bs .Store (& r , fmt .Sprintf ("my_dynamic_cache_key_%d" , iteration ), "" , "" )
164+ _ = bs .Store (& r , fmt .Sprintf ("my_dynamic_cache_key_%d" , iteration ), "" )
165165 }(res , i , & wg )
166166 }
167167
0 commit comments