2
0

Fix precision loss for test format geometric types

fixes #399
This commit is contained in:
Jack Christensen
2018-03-17 10:26:03 -05:00
parent a07b87eb8b
commit cb4431028c
14 changed files with 45 additions and 16 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func TestPathTranscode(t *testing.T) {
testutil.TestSuccessfulTranscode(t, "path", []interface{}{
&pgtype.Path{
P: []pgtype.Vec2{{3.14, 1.678}, {7.1, 5.234}},
P: []pgtype.Vec2{{3.14, 1.678901234}, {7.1, 5.234}},
Closed: false,
Status: pgtype.Present,
},