Changed consts in utils

This commit is contained in:
andronache
2021-01-08 16:47:21 +02:00
committed by Dan Christian Bogos
parent 1d0a814e42
commit 3e51f58d8c
32 changed files with 313 additions and 313 deletions

View File

@@ -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)