mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
improve test
This commit is contained in:
parent
d47b8e3cd3
commit
30f7fa24b4
@ -415,7 +415,7 @@ TEST(ObjectArray, create_from_str4) {
|
||||
|
||||
TEST(ObjectArray, create_from_str5) {
|
||||
value_t v;
|
||||
object_t* obj = object_array_create_from_str("abc,123", ",", VALUE_TYPE_INT32);
|
||||
object_t* obj = object_array_create_from_str("abc,123", ",", VALUE_TYPE_STRING);
|
||||
object_array_t* o = OBJECT_ARRAY(obj);
|
||||
|
||||
ASSERT_EQ(o->size, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user