From c7bc0c4b1ce8ad4f6c767142745b67466e458ac2 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Fri, 8 Jan 2021 17:19:12 +0800 Subject: [PATCH] update tests --- tests/typed_array_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/typed_array_test.cc b/tests/typed_array_test.cc index f0619c662..5d19e3827 100644 --- a/tests/typed_array_test.cc +++ b/tests/typed_array_test.cc @@ -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);