From ace282df665bd85e4137bd0e5bda312b6e650bd8 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 20 May 2017 08:36:40 -0500 Subject: [PATCH] Test &pgtype.QChar --- pgtype/qchar_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pgtype/qchar_test.go b/pgtype/qchar_test.go index b810b89c..057a557f 100644 --- a/pgtype/qchar_test.go +++ b/pgtype/qchar_test.go @@ -11,12 +11,12 @@ import ( func TestQCharTranscode(t *testing.T) { testutil.TestPgxSuccessfulTranscodeEqFunc(t, `"char"`, []interface{}{ - pgtype.QChar{Int: math.MinInt8, Status: pgtype.Present}, - pgtype.QChar{Int: -1, Status: pgtype.Present}, - pgtype.QChar{Int: 0, Status: pgtype.Present}, - pgtype.QChar{Int: 1, Status: pgtype.Present}, - pgtype.QChar{Int: math.MaxInt8, Status: pgtype.Present}, - pgtype.QChar{Int: 0, Status: pgtype.Null}, + &pgtype.QChar{Int: math.MinInt8, Status: pgtype.Present}, + &pgtype.QChar{Int: -1, Status: pgtype.Present}, + &pgtype.QChar{Int: 0, Status: pgtype.Present}, + &pgtype.QChar{Int: 1, Status: pgtype.Present}, + &pgtype.QChar{Int: math.MaxInt8, Status: pgtype.Present}, + &pgtype.QChar{Int: 0, Status: pgtype.Null}, }, func(a, b interface{}) bool { return reflect.DeepEqual(a, b) })