Skip to content

Commit

Permalink
Merge pull request #5 from twpayne/improve-test
Browse files Browse the repository at this point in the history
chore: test returned coordinates
  • Loading branch information
twpayne authored Jul 1, 2024
2 parents 4c8fbda + 0043bb3 commit 8d0f294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgxgeom_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestCodecScanValue(t *testing.T) {
var geom geom.T
err := conn.QueryRow(ctx, "select ST_SetSRID('POINT(1 2)'::geometry, 4326)", pgx.QueryResultFormats{format}).Scan(&geom)
assert.NoError(t, err)
// assert.Equal(t, mustNewGeomFromWKT(t, "POINT(1 2)", 4326).SetSRID(4326).ToEWKBWithSRID(), geom.ToEWKBWithSRID())
assert.Equal(t, mustNewGeomFromWKT(t, "POINT(1 2)", 4326), geom)
})
}
})
Expand Down

0 comments on commit 8d0f294

Please sign in to comment.