diff --git a/server/src/test/java/org/elasticsearch/index/mapper/DateFieldTypeTests.java b/server/src/test/java/org/elasticsearch/index/mapper/DateFieldTypeTests.java index 46ebb7fccbbf8..8f8b51d3ce8a2 100644 --- a/server/src/test/java/org/elasticsearch/index/mapper/DateFieldTypeTests.java +++ b/server/src/test/java/org/elasticsearch/index/mapper/DateFieldTypeTests.java @@ -171,7 +171,16 @@ private void doTestIsFieldWithinQuery(DateFieldType ft, DirectoryReader reader, ); assertThrows( IllegalArgumentException.class, - () -> ft.isFieldWithinQuery(reader, "9223372036854775807", "2016-04-01", randomBoolean(), randomBoolean(), zone, null, context) + () -> ft.isFieldWithinQuery( + reader, + "9223372036854775807", + "2016-04-01", + randomBoolean(), + randomBoolean(), + zone, + null, + context + ) ); } }