Reviwed test for equals

This commit is contained in:
porosnicuadrian
2021-05-06 15:17:28 +03:00
committed by Dan Christian Bogos
parent b9de24cdc5
commit 548709a9aa

View File

@@ -1450,7 +1450,7 @@ func TestEqualsExtEventCharges(t *testing.T) {
if err != nil {
t.Error(err)
}
if ok := rcv.Equals(extEvCh); ok {
if ok := rcv.Equals(extEvCh); !ok {
t.Errorf("Expected %+v \n, received %+v", ToJSON(extEvCh), ToJSON(rcv))
}
}