mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Changed consts in utils
This commit is contained in:
committed by
Dan Christian Bogos
parent
1d0a814e42
commit
3e51f58d8c
@@ -665,7 +665,7 @@ func TestParseDurationWithNanosecs(t *testing.T) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", eOut, rcv)
|
||||
}
|
||||
eOut, _ = time.ParseDuration("-1ns")
|
||||
if rcv, err := ParseDurationWithNanosecs(UNLIMITED); err != nil {
|
||||
if rcv, err := ParseDurationWithNanosecs(MetaUnlimited); err != nil {
|
||||
t.Error(err)
|
||||
} else if !reflect.DeepEqual(rcv, eOut) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", eOut, rcv)
|
||||
|
||||
Reference in New Issue
Block a user