@@ -162,9 +162,9 @@ func TestFileDelivery(t *testing.T) {
162162 SeqNo : 1 ,
163163 Version : 1 ,
164164 Index : fmt .Sprintf (delivery .FileDataIndexPattern , "endpoint" ),
165- Fields : map [string ]interface {} {
166- file .FieldBaseID : []interface {} {"X" },
167- file .FieldLast : []interface {} {true },
165+ Fields : map [string ]any {
166+ file .FieldBaseID : []any {"X" },
167+ file .FieldLast : []any {true },
168168 },
169169 },
170170 },
@@ -222,18 +222,18 @@ func TestFileDeliveryMultipleChunks(t *testing.T) {
222222 SeqNo : 1 ,
223223 Version : 1 ,
224224 Index : fmt .Sprintf (delivery .FileDataIndexPattern , "endpoint" ),
225- Fields : map [string ]interface {} {
226- file .FieldBaseID : []interface {} {"X" },
225+ Fields : map [string ]any {
226+ file .FieldBaseID : []any {"X" },
227227 },
228228 },
229229 {
230230 ID : "X.1" ,
231231 SeqNo : 1 ,
232232 Version : 1 ,
233233 Index : fmt .Sprintf (delivery .FileDataIndexPattern , "endpoint" ),
234- Fields : map [string ]interface {} {
235- file .FieldBaseID : []interface {} {"X" },
236- file .FieldLast : []interface {} {true },
234+ Fields : map [string ]any {
235+ file .FieldBaseID : []any {"X" },
236+ file .FieldLast : []any {true },
237237 },
238238 },
239239 },
@@ -301,9 +301,9 @@ func TestFileDeliverySetsHeaders(t *testing.T) {
301301 SeqNo : 1 ,
302302 Version : 1 ,
303303 Index : fmt .Sprintf (delivery .FileDataIndexPattern , "endpoint" ),
304- Fields : map [string ]interface {} {
305- file .FieldBaseID : []interface {} {"X" },
306- file .FieldLast : []interface {} {true },
304+ Fields : map [string ]any {
305+ file .FieldBaseID : []any {"X" },
306+ file .FieldLast : []any {true },
307307 },
308308 },
309309 },
@@ -362,9 +362,9 @@ func TestFileDeliverySetsHashWhenPresent(t *testing.T) {
362362 SeqNo : 1 ,
363363 Version : 1 ,
364364 Index : fmt .Sprintf (delivery .FileDataIndexPattern , "endpoint" ),
365- Fields : map [string ]interface {} {
366- file .FieldBaseID : []interface {} {"X" },
367- file .FieldLast : []interface {} {true },
365+ Fields : map [string ]any {
366+ file .FieldBaseID : []any {"X" },
367+ file .FieldLast : []any {true },
368368 },
369369 },
370370 },
0 commit comments