From 8a840ec95cf1f2017ed423bfda1d74dac81cba46 Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Mon, 16 Sep 2024 10:05:50 +0200 Subject: [PATCH] Spotless --- .../xpack/esql/analysis/VerifierTests.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java index 952a5184c6c5d..1c7fc2747f940 100644 --- a/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java +++ b/x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java @@ -1114,7 +1114,10 @@ public void testQueryStringFunctionsNotAllowedAfterCommands() throws Exception { ); assertEquals("1:27: [QSTR] function cannot be used after KEEP", error("from test | keep emp_no | where qstr(\"Anna\")")); assertEquals("1:24: [QSTR] function cannot be used after LIMIT", error("from test | limit 10 | where qstr(\"Anna\")")); - assertEquals("1:35: [QSTR] function cannot be used after MV_EXPAND", error("from test | mv_expand last_name | where qstr(\"Anna\")")); + assertEquals( + "1:35: [QSTR] function cannot be used after MV_EXPAND", + error("from test | mv_expand last_name | where qstr(\"Anna\")") + ); assertEquals( "1:45: [QSTR] function cannot be used after RENAME", error("from test | rename last_name as full_name | where qstr(\"Anna\")") @@ -1125,7 +1128,10 @@ public void testQueryStringFunctionsNotAllowedAfterCommands() throws Exception { ); // Some combination of processing commands - assertEquals("1:38: [QSTR] function cannot be used after LIMIT", error("from test | keep emp_no | limit 10 | where qstr(\"Anna\")")); + assertEquals( + "1:38: [QSTR] function cannot be used after LIMIT", + error("from test | keep emp_no | limit 10 | where qstr(\"Anna\")") + ); assertEquals( "1:46: [QSTR] function cannot be used after MV_EXPAND", error("from test | limit 10 | mv_expand last_name | where qstr(\"Anna\")") @@ -1150,7 +1156,10 @@ public void testQueryStringFunctionsOnlyAllowedInWhere() throws Exception { assertEquals("1:22: [QSTR] function is only supported in WHERE commands", error("from test | eval y = qstr(\"Anna\")")); assertEquals("1:18: [QSTR] function is only supported in WHERE commands", error("from test | sort qstr(\"Connection\") asc")); assertEquals("1:5: [QSTR] function is only supported in WHERE commands", error("row qstr(\"Connection\")")); - assertEquals("1:23: [QSTR] function is only supported in WHERE commands", error("from test | STATS c = qstr(\"foo\") BY languages")); + assertEquals( + "1:23: [QSTR] function is only supported in WHERE commands", + error("from test | STATS c = qstr(\"foo\") BY languages") + ); } public void testQueryStringFunctionArgNotNullOrConstant() throws Exception {