fix test case

This commit is contained in:
yihaoDeng 2024-12-10 18:09:21 +08:00
parent 465125e3b9
commit becadebea1
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ TEST(osStringTests, taosStr2Uint16) {
ASSERT_EQ(val, 123);
result = taosStr2Uint16("abc123", &val);
ASSERT_EQ(result, TSDB_CODE_INVALID_PARA);
ASSERT_NE(result, 0);
// 测试有效的整数字符串
result = taosStr2Uint16("12345", &val);
ASSERT_EQ(result, 0);