2
0

Finish extraction of pgtype test helpers

This commit is contained in:
Jack Christensen
2017-04-14 12:38:33 -05:00
parent e4451b47b2
commit f418255c24
60 changed files with 202 additions and 435 deletions
+2 -1
View File
@@ -7,10 +7,11 @@ import (
"testing"
"github.com/jackc/pgx/pgtype"
"github.com/jackc/pgx/pgtype/testutil"
)
func TestMacaddrTranscode(t *testing.T) {
testSuccessfulTranscode(t, "macaddr", []interface{}{
testutil.TestSuccessfulTranscode(t, "macaddr", []interface{}{
pgtype.Macaddr{Addr: mustParseMacaddr(t, "01:23:45:67:89:ab"), Status: pgtype.Present},
pgtype.Macaddr{Status: pgtype.Null},
})