update tests

This commit is contained in:
lixianjing 2021-01-08 17:19:12 +08:00
parent 062cb1d7ec
commit c7bc0c4b1c

View File

@ -178,7 +178,7 @@ TEST(TypedArray, object1) {
}
ASSERT_EQ(object_get_prop_int(obj, "size", 0), i);
ASSERT_EQ(object_get_prop_int(obj, "byte_size", 0), i * sizeof(uint32_t));
ASSERT_EQ(object_get_prop_int(obj, "bytes", 0), i * sizeof(uint32_t));
ASSERT_EQ(object_get_prop_pointer(obj, "data"), (void*)a->data);
typed_array_destroy(a);