mirror of https://github.com/apache/lucene.git
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");
|
||||
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue