From a3e05ea29f41fbd74c37e74a81b5a2783c885e87 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 20 May 2017 08:42:39 -0500 Subject: [PATCH] Fix TestHstoreArrayTranscode --- hstore_array_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hstore_array_test.go b/hstore_array_test.go index d26497b1..fcf08c49 100644 --- a/hstore_array_test.go +++ b/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,