Commit cb81fa6f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix test case

parent 8c9c74aa
......@@ -74,7 +74,7 @@ static void test_block (void)
assert (block->i_buffer == 200 + sizeof (text) + 200);
assert (!memcmp (block->p_buffer + 200, text, sizeof (text)));
block = block_Realloc (block, -200, sizeof (text));
block = block_Realloc (block, -200, sizeof (text) + 200);
assert (block != NULL);
assert (block->i_buffer == sizeof (text));
assert (!memcmp (block->p_buffer, text, sizeof (text)));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment