Skip to content

Commit 9e78a73

Browse files
committed
spotless
1 parent bab8a4b commit 9e78a73

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

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

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ public void testSimpleChickenScoreWithWhereMatch() {
5353
try (var resp = run(query)) {
5454
assertColumnNames(resp.columns(), List.of("id", "_score", "first_score"));
5555
assertColumnTypes(resp.columns(), List.of("integer", "double", "double"));
56-
assertValues(resp.values(), List.of(List.of(1, 1.156558871269226, 0.2708943784236908),
57-
List.of(6, 0.9114001989364624, 0.21347221732139587)));
56+
assertValues(
57+
resp.values(),
58+
List.of(List.of(1, 1.156558871269226, 0.2708943784236908), List.of(6, 0.9114001989364624, 0.21347221732139587))
59+
);
5860
}
5961
}
6062

@@ -69,9 +71,17 @@ public void testSimpleChickenScoreAlone() {
6971
try (var resp = run(query)) {
7072
assertColumnNames(resp.columns(), List.of("id", "_score", "first_score"));
7173
assertColumnTypes(resp.columns(), List.of("integer", "double", "double"));
72-
assertValues(resp.values(), List.of(List.of(1, 0.0, 0.2708943784236908), List.of(2, 0.0, 0.2708943784236908),
73-
List.of(3, 0.0, 0.2708943784236908), List.of(4, 0.0, 0.19301524758338928), List.of(5, 0.0, 0.0),
74-
List.of(6, 0.0, 0.21347221732139587)));
74+
assertValues(
75+
resp.values(),
76+
List.of(
77+
List.of(1, 0.0, 0.2708943784236908),
78+
List.of(2, 0.0, 0.2708943784236908),
79+
List.of(3, 0.0, 0.2708943784236908),
80+
List.of(4, 0.0, 0.19301524758338928),
81+
List.of(5, 0.0, 0.0),
82+
List.of(6, 0.0, 0.21347221732139587)
83+
)
84+
);
7585
}
7686
}
7787

@@ -87,8 +97,10 @@ public void testSimpleMatchScoreCopy() {
8797
try (var resp = run(query)) {
8898
assertColumnNames(resp.columns(), List.of("id", "_score", "first_score"));
8999
assertColumnTypes(resp.columns(), List.of("integer", "double", "double"));
90-
assertValues(resp.values(), List.of(List.of(1, 1.156558871269226, 1.156558871269226),
91-
List.of(6, 0.9114001989364624, 0.9114001989364624)));
100+
assertValues(
101+
resp.values(),
102+
List.of(List.of(1, 1.156558871269226, 1.156558871269226), List.of(6, 0.9114001989364624, 0.9114001989364624))
103+
);
92104
}
93105
}
94106

0 commit comments

Comments
 (0)