Skip to content

Commit

Permalink
[SEDONA-621] Remove redundant call to toString() (#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Jul 9, 2024
1 parent 678fbde commit 9a774cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public void testSTGeometryType() {
Table table = tableEnv.sqlQuery("SELECT ST_GeomFromWKT('LINESTRING(1 1, 2 2, 3 3)') AS geom");
table = table.select(call(Functions.ST_GeometryType.class.getSimpleName(), $("geom")));
String result = (String) first(table).getField(0);
assertEquals("ST_LineString", result.toString());
assertEquals("ST_LineString", result);
}

@Test
Expand Down

0 comments on commit 9a774cd

Please sign in to comment.