From af264c297324c0c4a718d573f5e9c3f4653061d6 Mon Sep 17 00:00:00 2001 From: Andy Kwok Date: Mon, 13 Jan 2025 11:50:19 -0800 Subject: [PATCH] Fix spot Signed-off-by: Andy Kwok --- .../org/opensearch/sql/analysis/ExpressionAnalyzerTest.java | 2 +- .../org/opensearch/sql/expression/ip/GeoIPFunctionTest.java | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/core/src/test/java/org/opensearch/sql/analysis/ExpressionAnalyzerTest.java b/core/src/test/java/org/opensearch/sql/analysis/ExpressionAnalyzerTest.java index b343be2179..b27b8348e2 100644 --- a/core/src/test/java/org/opensearch/sql/analysis/ExpressionAnalyzerTest.java +++ b/core/src/test/java/org/opensearch/sql/analysis/ExpressionAnalyzerTest.java @@ -50,7 +50,7 @@ import org.opensearch.sql.expression.FunctionExpression; import org.opensearch.sql.expression.window.aggregation.AggregateWindowFunction; -class ExpressionAnalyzerTest extends AnalyzerTestBase { +class ExpressionAnalyzerTest extends AnalyzerTestBase { @Test public void equal() { diff --git a/core/src/test/java/org/opensearch/sql/expression/ip/GeoIPFunctionTest.java b/core/src/test/java/org/opensearch/sql/expression/ip/GeoIPFunctionTest.java index 7fe685dffd..413cd4b2d5 100644 --- a/core/src/test/java/org/opensearch/sql/expression/ip/GeoIPFunctionTest.java +++ b/core/src/test/java/org/opensearch/sql/expression/ip/GeoIPFunctionTest.java @@ -44,13 +44,10 @@ public void testGeoipFnctionSignature() { assertEquals(BOOLEAN, geoip.type()); } - /** - * To make sure no logic being evaluated when no environment being passed. - */ + /** To make sure no logic being evaluated when no environment being passed. */ @Test public void testDefaultValueOf() { var geoip = DSL.geoip(DSL.literal("HARDCODED_DATASOURCE_NAME"), DSL.ref("ip_address", STRING)); assertNull(geoip.valueOf()); - } }