diff --git a/pgtype/hstore_array_test.go b/pgtype/hstore_array_test.go index d26497b1..fcf08c49 100644 --- a/pgtype/hstore_array_test.go +++ b/pgtype/hstore_array_test.go @@ -49,7 +49,7 @@ func TestHstoreArrayTranscode(t *testing.T) { values = append(values, pgtype.Hstore{Map: map[string]pgtype.Text{"foo": text(s)}, Status: pgtype.Present}) // is key } - src := pgtype.HstoreArray{ + src := &pgtype.HstoreArray{ Elements: values, Dimensions: []pgtype.ArrayDimension{{Length: int32(len(values)), LowerBound: 1}}, Status: pgtype.Present,