This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 02fc60c10b1 [fix](ut) Fix the compatibility of JSON unit test cases
(#52933)
02fc60c10b1 is described below
commit 02fc60c10b14e05d92fe6526fbf68172b2ae6f55
Author: Jerry Hu <[email protected]>
AuthorDate: Tue Jul 8 18:02:10 2025 +0800
[fix](ut) Fix the compatibility of JSON unit test cases (#52933)
---
be/test/util/jsonb_parser_simd_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/test/util/jsonb_parser_simd_test.cpp
b/be/test/util/jsonb_parser_simd_test.cpp
index dca45a460de..3e7e70cf666 100644
--- a/be/test/util/jsonb_parser_simd_test.cpp
+++ b/be/test/util/jsonb_parser_simd_test.cpp
@@ -232,7 +232,7 @@ TEST_F(JsonbParserTest, ParseJsonWithLongInt) {
TEST_F(JsonbParserTest, ParseInvalidJsonFormat) {
std::string_view invalid_json = R"({"key": "value")";
- EXPECT_EQ(parse_json_and_check(invalid_json, invalid_json),
JsonbErrType::E_EXCEPTION);
+ EXPECT_NE(parse_json_and_check(invalid_json, invalid_json),
JsonbErrType::E_NONE);
}
TEST_F(JsonbParserTest, ParseJsonWithInvalidKeyType) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]