2
0

Fix Box, Circle, and Point NULL

This commit is contained in:
Jack Christensen
2022-01-08 13:29:47 -06:00
parent 58d2d8e453
commit 6a6878bafd
7 changed files with 43 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@ func TestPointCodec(t *testing.T) {
new(pgtype.Point),
isExpectedEq(pgtype.Point{P: pgtype.Vec2{-1.234, -5.6789}, Valid: true}),
},
{pgtype.Point{}, new(pgtype.Point), isExpectedEq(pgtype.Point{})},
{nil, new(pgtype.Point), isExpectedEq(pgtype.Point{})},
})
}