Skip to content

Commit 6e50539

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 4e681bd commit 6e50539

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

server/src/test/java/org/elasticsearch/index/mapper/vectors/SparseVectorFieldMapperTests.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,9 @@ public void testTokensFreqRatioCorrect() {
348348
})));
349349
assertThat(
350350
eTestInteger.getMessage(),
351-
containsString("Failed to parse mapping: [pruning_config] field [tokens_freq_ratio_threshold]field should be a number between 1 and 100")
351+
containsString(
352+
"Failed to parse mapping: [pruning_config] field [tokens_freq_ratio_threshold]field should be a number between 1 and 100"
353+
)
352354
);
353355

354356
Exception eTestRangeLower = expectThrows(MapperParsingException.class, () -> createMapperService(fieldMapping(b -> {
@@ -392,7 +394,9 @@ public void testTokensWeightThresholdCorrect() {
392394
})));
393395
assertThat(
394396
eTestDouble.getMessage(),
395-
containsString("Failed to parse mapping: [pruning_config] field [tokens_weight_threshold]field should be a number between 0.0 and 1.0")
397+
containsString(
398+
"Failed to parse mapping: [pruning_config] field [tokens_weight_threshold]field should be a number between 0.0 and 1.0"
399+
)
396400
);
397401

398402
Exception eTestRangeLower = expectThrows(MapperParsingException.class, () -> createMapperService(fieldMapping(b -> {

0 commit comments

Comments
 (0)