Removing TestDecimalMarshalUnmarshalJSONNil due to code change

This commit is contained in:
DanB
2020-11-12 18:58:05 +01:00
parent 103ed0ddb3
commit fd6b9f6678

View File

@@ -72,17 +72,3 @@ func TestDecimalMarshalUnmarshalJSON(t *testing.T) {
t.Errorf("Expecting: %+v, received: %+v", expected, rcv)
}
}
func TestDecimalMarshalUnmarshalJSONNil(t *testing.T) {
var a Decimal
var b Decimal
marshA, err := a.MarshalJSON()
if err != nil {
t.Errorf("Expecting: nil, received: %+v", marshA)
}
unmarshB := b.UnmarshalJSON(marshA)
if unmarshB != nil {
t.Errorf("Expecting: nil, received: %+v", unmarshB)
}
}