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.
io.EOF is never expected during valid usage. In addition, database/sql
uses io.EOF as a sentinal value that all rows from a query have been
received.
See https://github.com/jackc/pgx/issues/662.