Fix unit test, it should return after any error is returned from Decode
function whether expected or not, rather than continue and try to compare invalid decoded results. Extend the unit test slightly to check the header. Remove go-test/deep dependency in favour of standard library reflect package.
This commit is contained in:
committed by
Jack Christensen
parent
9275da562f
commit
3d9a54f092
Reference in New Issue
Block a user