2
0

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:
Martin Ashby
2021-11-06 16:17:26 +00:00
committed by Jack Christensen
parent 9275da562f
commit 3d9a54f092
4 changed files with 59 additions and 45 deletions
-1
View File
@@ -3,7 +3,6 @@ module github.com/jackc/pgproto3/v2
go 1.12
require (
github.com/go-test/deep v1.0.8
github.com/jackc/chunkreader/v2 v2.0.0
github.com/jackc/pgio v1.0.0
github.com/stretchr/testify v1.4.0