Skip to content

Commit d1e2f1a

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent ddb40cd commit d1e2f1a

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/plugin/ChickenScoreFunctionIT.java

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ public void testSimpleWhereMatch() {
3737
try (var resp = run(query)) {
3838
assertColumnNames(resp.columns(), List.of("id", "_score"));
3939
assertColumnTypes(resp.columns(), List.of("integer", "double"));
40-
assertValues(resp.values(), List.of(
41-
List.of(1, 1.4274532794952393),
42-
List.of(6, 1.1248724460601807))
43-
);
40+
assertValues(resp.values(), List.of(List.of(1, 1.4274532794952393), List.of(6, 1.1248724460601807)));
4441
}
4542
}
4643

@@ -58,9 +55,7 @@ public void testSimpleChickenScoreWhereMatch() {
5855
assertColumnTypes(resp.columns(), List.of("integer", "double", "double"));
5956
assertValues(
6057
resp.values(),
61-
List.of(
62-
List.of(1, 1.156558871269226, 0.2708943784236908),
63-
List.of(6, 0.9114001989364624, 0.21347221732139587))
58+
List.of(List.of(1, 1.156558871269226, 0.2708943784236908), List.of(6, 0.9114001989364624, 0.21347221732139587))
6459
);
6560
}
6661
}
@@ -78,9 +73,9 @@ public void testChickenScorePlusWhereMatch() {
7873
try (var resp = run(query)) {
7974
assertColumnNames(resp.columns(), List.of("id", "_score", "first_score"));
8075
assertColumnTypes(resp.columns(), List.of("integer", "double", "double"));
81-
assertValues(resp.values(), List.of(
82-
List.of(1, 1.4274532794952393, 0.2708943784236908),
83-
List.of(6, 1.1248724460601807, 0.21347221732139587))
76+
assertValues(
77+
resp.values(),
78+
List.of(List.of(1, 1.4274532794952393, 0.2708943784236908), List.of(6, 1.1248724460601807, 0.21347221732139587))
8479
);
8580
}
8681
}
@@ -122,9 +117,7 @@ public void testSimpleEvalScoreWithWhereMatch() {
122117
try (var resp = run(query)) {
123118
assertColumnNames(resp.columns(), List.of("id", "_score", "first_score"));
124119
assertColumnTypes(resp.columns(), List.of("integer", "double", "boolean"));
125-
assertValues(resp.values(), List.of(
126-
List.of(1, 1.156558871269226, true),
127-
List.of(6, 0.9114001989364624, true)));
120+
assertValues(resp.values(), List.of(List.of(1, 1.156558871269226, true), List.of(6, 0.9114001989364624, true)));
128121
}
129122
}
130123

0 commit comments

Comments
 (0)