From 30f7fa24b4777ab29b9b251a4941fb367f7746f4 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Wed, 14 Jul 2021 22:51:49 +0800 Subject: [PATCH] improve test --- tests/object_array_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/object_array_test.cc b/tests/object_array_test.cc index 6f1973143..3b4d7cc61 100644 --- a/tests/object_array_test.cc +++ b/tests/object_array_test.cc @@ -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);