From cf0de913ee8facdfef0a7611d41cd67522b12c76 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 29 Nov 2021 12:29:02 -0500 Subject: [PATCH] Use pgtype.UUID for test instead of ext UUID --- query_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/query_test.go b/query_test.go index e9432fd0..968c0ecc 100644 --- a/query_test.go +++ b/query_test.go @@ -18,7 +18,6 @@ import ( "github.com/jackc/pgconn" "github.com/jackc/pgconn/stmtcache" "github.com/jackc/pgtype" - gofrs "github.com/jackc/pgtype/ext/gofrs-uuid" "github.com/jackc/pgx/v4" "github.com/shopspring/decimal" "github.com/stretchr/testify/assert" @@ -1236,12 +1235,6 @@ func TestConnQueryDatabaseSQLDriverValuerWithBinaryPgTypeThatAcceptsSameType(t * conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE")) defer closeConn(t, conn) - conn.ConnInfo().RegisterDataType(pgtype.DataType{ - Value: &gofrs.UUID{}, - Name: "uuid", - OID: 2950, - }) - expected, err := uuid.FromString("6ba7b810-9dad-11d1-80b4-00c04fd430c8") if err != nil { t.Fatal(err)