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

enable the block tests

parent fd414c38
...@@ -80,12 +80,13 @@ static void test_block (void) ...@@ -80,12 +80,13 @@ static void test_block (void)
assert (!memcmp (block->p_buffer, text, sizeof (text))); assert (!memcmp (block->p_buffer, text, sizeof (text)));
block_Release (block); block_Release (block);
block = block_Alloc (SIZE_MAX); //block = block_Alloc (SIZE_MAX);
assert (block == NULL); //assert (block == NULL);
} }
int main (void) int main (void)
{ {
test_block ();
test_block_File (); test_block_File ();
return 0; return 0;
} }
......
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