Skip to content

Commit f535929

Browse files
Update iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/SqlParserErrorHandlerTest.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b9721f8 commit f535929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/SqlParserErrorHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void testParseLimitOffsetError() {
6262
// If parsing exception propagates here (which it shouldn't as it's caught in
6363
// the task), handle it
6464
if (e.getCause() instanceof ParsingException) {
65-
assertTrue(e.getMessage().contains("mismatched input 'limit1'"));
65+
assertTrue(e.getCause().getMessage().contains("mismatched input 'limit1'"));
6666
} else {
6767
fail("Unexpected exception: " + e.getCause());
6868
}

0 commit comments

Comments
 (0)