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 b0edc6bac7..98176f0002 100644 --- a/core/src/test/java/org/opensearch/sql/analysis/ExpressionAnalyzerTest.java +++ b/core/src/test/java/org/opensearch/sql/analysis/ExpressionAnalyzerTest.java @@ -491,9 +491,9 @@ void simple_query_string_expression_two_fields() { void query_expression() { assertAnalyzeEqual( dsl.query( - dsl.namedArgument("query", DSL.literal("query_value"))), + dsl.namedArgument("query", DSL.literal("field:query"))), AstDSL.function("query", - AstDSL.unresolvedArg("query", stringLiteral("query_value")))); + AstDSL.unresolvedArg("query", stringLiteral("field:query")))); } @Test