From 0043bb365a1e40322ec20c0ef6d1d551f9ec097e Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 1 Jul 2024 23:09:35 +0200 Subject: [PATCH] chore: test returned coordinates --- pgxgeom_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgxgeom_test.go b/pgxgeom_test.go index 15749de..450411f 100644 --- a/pgxgeom_test.go +++ b/pgxgeom_test.go @@ -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) }) } })