Removed TextEncoder and BinaryEncoder
Restructured / fixed a lot of tests along the way.
This commit is contained in:
@@ -4,10 +4,11 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/jackc/pgx/v5/pgtype"
|
||||
"github.com/jackc/pgx/v5/pgtype/testutil"
|
||||
)
|
||||
|
||||
func TestUint32Codec(t *testing.T) {
|
||||
testPgxCodec(t, "oid", []PgxTranscodeTestCase{
|
||||
testutil.RunTranscodeTests(t, "oid", []testutil.TranscodeTestCase{
|
||||
{
|
||||
pgtype.Uint32{Uint: pgtype.TextOID, Valid: true},
|
||||
new(pgtype.Uint32),
|
||||
|
||||
Reference in New Issue
Block a user