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 TestCircleTranscode(t *testing.T) {
|
||||
testPgxCodec(t, "circle", []PgxTranscodeTestCase{
|
||||
testutil.RunTranscodeTests(t, "circle", []testutil.TranscodeTestCase{
|
||||
{
|
||||
pgtype.Circle{P: pgtype.Vec2{1.234, 5.67890123}, R: 3.5, Valid: true},
|
||||
new(pgtype.Circle),
|
||||
|
||||
Reference in New Issue
Block a user