Fix Box, Circle, and Point NULL
This commit is contained in:
@@ -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{})},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user