Fix TestHstoreArrayTranscode

batch-wip
Jack Christensen 2017-05-20 08:42:39 -05:00
parent aa2bc93e31
commit dc753bf2a3
1 changed files with 1 additions and 1 deletions

View File

@ -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,