Skip to content

Commit 5067e28

Browse files
committed
Fixup
1 parent 9335c3e commit 5067e28

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,15 @@ public void testGetAnswer() throws IOException {
271271
assertThat(((Integer) answer.get("took")).intValue(), greaterThanOrEqualTo(0));
272272
Map<String, String> colA = Map.of("name", "a", "type", "integer");
273273
Map<String, String> colB = Map.of("name", "b", "type", "integer");
274-
assertMap(answer, matchesMap().entry("took", greaterThanOrEqualTo(0))
275-
.entry("is_partial", any(Boolean.class))
276-
.entry("documents_found", 0)
277-
.entry("values_loaded", 0)
278-
.entry("columns", List.of(colA, colB))
279-
.entry("values", List.of(List.of(1, 2))));
274+
assertMap(
275+
answer,
276+
matchesMap().entry("took", greaterThanOrEqualTo(0))
277+
.entry("is_partial", any(Boolean.class))
278+
.entry("documents_found", 0)
279+
.entry("values_loaded", 0)
280+
.entry("columns", List.of(colA, colB))
281+
.entry("values", List.of(List.of(1, 2)))
282+
);
280283
}
281284

282285
public void testUseUnknownIndex() throws IOException {

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/action/EsqlQueryResponseTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,8 +783,8 @@ public void testXContentOriginalTypes() {
783783
) {
784784
assertThat(Strings.toString(wrapAsToXContent(response), true, false), equalTo("""
785785
{
786-
"documents_found": 1,
787-
"values_loaded": 1,
786+
"documents_found" : 1,
787+
"values_loaded" : 1,
788788
"columns" : [
789789
{
790790
"name" : "foo",

0 commit comments

Comments
 (0)