Skip to content

Commit

Permalink
Fix spot
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Kwok <[email protected]>
  • Loading branch information
andy-k-improving committed Jan 13, 2025
1 parent 52be18b commit af264c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());

}
}

0 comments on commit af264c2

Please sign in to comment.