mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Started to add a path sanitization
This commit is contained in:
committed by
Dan Christian Bogos
parent
f6ea7dc525
commit
a7a2eba62c
@@ -378,8 +378,10 @@ func TestAppend2(t *testing.T) {
|
||||
dn.Slice = nil
|
||||
dn.Map = map[string]*DataNode{}
|
||||
|
||||
if _, err := dn.Append(testPath, val1); err != nil {
|
||||
if rcv, err := dn.Append(testPath, val1); err != nil {
|
||||
t.Error(err)
|
||||
} else if rcv != 0 {
|
||||
t.Errorf("Expected %+v, received %+v", 0, rcv)
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user