Replace interface{} with any

This commit is contained in:
ionutboangiu
2023-05-29 12:15:08 -04:00
committed by Dan Christian Bogos
parent 97c3dab0f4
commit 6c16ff320f
636 changed files with 6405 additions and 6405 deletions

View File

@@ -851,7 +851,7 @@ func TestOrderedNavigableMapOrderedFields(t *testing.T) {
PathSlice: []string{"Field5"},
Path: "Field5",
})
exp := []interface{}{"1003", "1004", "1006"}
exp := []any{"1003", "1004", "1006"}
rcv := nm.OrderedFields()
if !reflect.DeepEqual(exp, rcv) {
t.Errorf("Expected %+v<%T>, received %+v<%T>", exp, exp[0], rcv, rcv[0])