Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix failing test due to a typo

iverase9d374b69a327
diff --git a/lucene/core/src/test/org/apache/lucene/geo/TestPolygon.java b/lucene/core/src/test/org/apache/lucene/geo/TestPolygon.java
index e9bf265ffb5..7db061ba952 100644
--- a/lucene/core/src/test/org/apache/lucene/geo/TestPolygon.java
+++ b/lucene/core/src/test/org/apache/lucene/geo/TestPolygon.java
@@ -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 {