mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Replace interface{} with any
This commit is contained in:
committed by
Dan Christian Bogos
parent
97c3dab0f4
commit
6c16ff320f
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user