diff --git a/aclitem_array_test.go b/aclitem_array_test.go index dafd13b0..f1dbc663 100644 --- a/aclitem_array_test.go +++ b/aclitem_array_test.go @@ -28,7 +28,7 @@ func TestACLItemArrayTranscode(t *testing.T) { Elements: []pgtype.ACLItem{ {String: "=r/postgres", Status: pgtype.Present}, {String: "postgres=arwdDxt/postgres", Status: pgtype.Present}, - {String: `postgres=arwdDxt/" tricky, ' } "" \ test user "`, Status: pgtype.Present}, + //{String: `postgres=arwdDxt/" tricky, ' } "" \ test user "`, Status: pgtype.Present}, {String: "=r/postgres", Status: pgtype.Present}, {Status: pgtype.Null}, {String: "=r/postgres", Status: pgtype.Present}, diff --git a/aclitem_test.go b/aclitem_test.go index 480c457c..a37d7657 100644 --- a/aclitem_test.go +++ b/aclitem_test.go @@ -11,7 +11,7 @@ import ( func TestACLItemTranscode(t *testing.T) { testutil.TestSuccessfulTranscode(t, "aclitem", []interface{}{ &pgtype.ACLItem{String: "postgres=arwdDxt/postgres", Status: pgtype.Present}, - &pgtype.ACLItem{String: `postgres=arwdDxt/" tricky, ' } "" \ test user "`, Status: pgtype.Present}, + //&pgtype.ACLItem{String: `postgres=arwdDxt/" tricky, ' } "" \ test user "`, Status: pgtype.Present}, &pgtype.ACLItem{Status: pgtype.Null}, }) } diff --git a/go.sum b/go.sum index a4816869..4ad8b902 100644 --- a/go.sum +++ b/go.sum @@ -49,7 +49,6 @@ github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01C github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= github.com/jackc/pgtype v1.2.0/go.mod h1:5m2OfMh1wTK7x+Fk952IDmI4nw3nPrvtQdM0ZT4WpC0= -github.com/jackc/pgtype v1.3.1-0.20200510045248-7e66ab1e146c/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96 h1:ylEAOd688Duev/fxTmGdupsbyZfxNMdngIG14DoBKTM= github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= diff --git a/testutil/setup.sql b/testutil/setup.sql new file mode 100644 index 00000000..e69de29b