From 8b6404eae60022c22e3350acb45383aa417c066b Mon Sep 17 00:00:00 2001 From: Gavin King Date: Tue, 4 Jul 2023 22:35:15 +0200 Subject: [PATCH] HHH-16875 fix a test --- .../spatial/dialect/postgis/PostgisDistanceOperatorsTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java b/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java index e5c9500035..1a4b8da513 100644 --- a/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java +++ b/hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/postgis/PostgisDistanceOperatorsTest.java @@ -33,7 +33,6 @@ import org.geolatte.geom.crs.CoordinateReferenceSystems; import static org.geolatte.geom.builder.DSL.c; import static org.geolatte.geom.builder.DSL.point; -import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; @@ -141,7 +140,7 @@ public class PostgisDistanceOperatorsTest { ); assertTrue( thrown.getMessage() - .contains("Parameter 1 of function distance_2d_bbox() has type SPATIAL, but argument is of type java.lang.Integer") + .contains("Parameter 1 of function 'distance_2d_bbox()' has type 'SPATIAL', but argument is of type 'java.lang.Integer'") ); }