mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Fix TestHstoreArrayTranscode
This commit is contained in:
parent
97a927bb03
commit
a3e05ea29f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user