Solve minor bug in metacall test.
@@ -177,9 +177,9 @@ TEST_F(metacall_test, DefaultConstructor)
EXPECT_NE((void *) NULL, (void *) ret);
- EXPECT_EQ((size_t) sizeof("hello world"), (size_t) metacall_value_size(ret));
+ EXPECT_EQ((size_t) sizeof("abcd"), (size_t) metacall_value_size(ret));
- EXPECT_EQ((int) 0, (int) memcmp(metacall_value_to_buffer(ret), "hello world", metacall_value_size(ret)));
+ EXPECT_EQ((int) 0, (int) memcmp(metacall_value_to_buffer(ret), "abcd", metacall_value_size(ret)));
metacall_value_destroy(ret);
@@ -202,9 +202,9 @@ TEST_F(metacall_test, DefaultConstructor)
EXPECT_NE((void *) NULL, (void *) ret);
- EXPECT_EQ((size_t) sizeof("hello world"), (size_t) metacall_value_size(ret));
+ EXPECT_EQ((size_t) sizeof("abcd"), (size_t) metacall_value_size(ret));
- EXPECT_EQ((int) 0, (int) memcmp(metacall_value_to_buffer(ret), "hello world", metacall_value_size(ret)));
+ EXPECT_EQ((int) 0, (int) memcmp(metacall_value_to_buffer(ret), "abcd", metacall_value_size(ret)));
metacall_value_destroy(ret);
