Skip to content

Commit f27477e

Browse files
committed
reformat codes
1 parent 262d522 commit f27477e

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/session/IndexResolverFieldNamesTests.java

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -261,13 +261,14 @@ public void testDateFields() {
261261
}
262262

263263
public void testEvalDissect() {
264-
assertFieldNames("""
265-
from employees
266-
| eval full_name = concat(first_name, " ", last_name)
267-
| dissect full_name "%{a} %{b}"
268-
| sort emp_no asc
269-
| keep full_name, a, b
270-
| limit 3""",
264+
assertFieldNames(
265+
"""
266+
from employees
267+
| eval full_name = concat(first_name, " ", last_name)
268+
| dissect full_name "%{a} %{b}"
269+
| sort emp_no asc
270+
| keep full_name, a, b
271+
| limit 3""",
271272
Set.of("emp_no", "first_name", "last_name", "full_name", "last_name.*", "first_name.*", "full_name.*", "emp_no.*")
272273
);
273274
}
@@ -687,13 +688,14 @@ public void testBucket() {
687688
}
688689

689690
public void testEvalGrok() {
690-
assertFieldNames("""
691-
from employees
692-
| eval full_name = concat(first_name, " ", last_name)
693-
| grok full_name "%{WORD:a} %{WORD:b}"
694-
| sort emp_no asc
695-
| keep full_name, a, b
696-
| limit 3""",
691+
assertFieldNames(
692+
"""
693+
from employees
694+
| eval full_name = concat(first_name, " ", last_name)
695+
| grok full_name "%{WORD:a} %{WORD:b}"
696+
| sort emp_no asc
697+
| keep full_name, a, b
698+
| limit 3""",
697699
Set.of("emp_no", "first_name", "last_name", "full_name", "last_name.*", "first_name.*", "full_name.*", "emp_no.*")
698700
);
699701
}

0 commit comments

Comments
 (0)