Browse Source

Remove test case that was incorrectly added in previous commit.

Julie Tibshirani 4 years ago
parent
commit
cb3665a20b

+ 0 - 4
server/src/test/java/org/elasticsearch/index/mapper/GeoShapeFieldTypeTests.java

@@ -43,9 +43,5 @@ public class GeoShapeFieldTypeTests extends FieldTypeTestCase {
         sourceValue = List.of(wktLineString, wktPoint);
         assertEquals(List.of(jsonLineString, jsonPoint), fetchSourceValue(mapper, sourceValue, null));
         assertEquals(List.of(wktLineString, wktPoint), fetchSourceValue(mapper, sourceValue, "wkt"));
-
-        // Test a malformed value
-        sourceValue = "malformed";
-        assertEquals(List.of(), fetchSourceValue(mapper, sourceValue, null));
     }
 }