Skip to content

Commit 81ebae1

Browse files
[chore](case) Fix assertion for data size check in test_query_stmt
1 parent 4c215b1 commit 81ebae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regression-test/suites/http_rest_api/post/test_query_stmt.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ suite("test_query_stmt") {
152152
assertEquals(obj.msg, SUCCESS_MSG)
153153
assertEquals(obj.code, SUCCESS_CODE)
154154
// we can only check the number is correctly
155-
assertEquals(obj.data.data.size, 3)
155+
assertEquals(obj.data.data.size(), 3)
156156

157157
url = "/api/query_schema/default_cluster/" + context.config.defaultDb
158158
def stmt5 = " select * from ${tableName}"

0 commit comments

Comments
 (0)