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
@@ -18,6 +18,7 @@ func TestCircleTranscode(t *testing.T) {
new(pgtype.Circle),
isExpectedEq(pgtype.Circle{P: pgtype.Vec2{1.234, 5.67890123}, R: 3.5, Valid: true}),
},
{pgtype.Circle{}, new(pgtype.Circle), isExpectedEq(pgtype.Circle{})},
{nil, new(pgtype.Circle), isExpectedEq(pgtype.Circle{})},
})
}