Fix failing test due to a typo

This commit is contained in:
iverase 2019-11-27 12:20:14 +01:00
parent 14dc678f39
commit 9d374b69a3

View File

@ -298,7 +298,7 @@ public class TestPolygon extends LuceneTestCase {
b.append("} \n"); b.append("} \n");
Exception e = expectThrows(ParseException.class, () -> Polygon.fromGeoJSON(b.toString())); Exception e = expectThrows(ParseException.class, () -> Polygon.fromGeoJSON(b.toString()));
assertTrue(e.getMessage().contains("can only handle type FeatureCollection (if it has a single polygon geometry), Feature, Polygon or MutiPolygon, but got Point")); assertTrue(e.getMessage().contains("can only handle type FeatureCollection (if it has a single polygon geometry), Feature, Polygon or MultiPolygon, but got Point"));
} }
public void testPolygonPropertiesCanBeStringArrays() throws Exception { public void testPolygonPropertiesCanBeStringArrays() throws Exception {