Skip to content

Commit 3f8d3c3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 8c6c002 commit 3f8d3c3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

x-pack/plugin/mapper-exponential-histogram/src/test/java/org/elasticsearch/xpack/exponentialhistogram/ExponentialHistogramFieldMapperTests.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,9 @@ protected List<ExampleMalformedValue> exampleMalformedValues() {
392392
).errorMatches("has a total value count exceeding the allowed maximum value of " + Long.MAX_VALUE),
393393

394394
// Non-Zero sum for empty histogram
395-
exampleMalformedValue(
396-
b -> b.startObject()
397-
.field("scale", 0)
398-
.field("sum", 42.0)
399-
.endObject()
400-
).errorMatches("sum field must be zero if the histogram is empty, but got 42.0")
395+
exampleMalformedValue(b -> b.startObject().field("scale", 0).field("sum", 42.0).endObject()).errorMatches(
396+
"sum field must be zero if the histogram is empty, but got 42.0"
397+
)
401398
);
402399
}
403400

0 commit comments

Comments
 (0)