mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 11:35:14 +00:00
Fix failing test due to a typo
This commit is contained in:
parent
14dc678f39
commit
9d374b69a3
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user