mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixed unit test for queue as it now allow arbitrary size
This commit is contained in:
parent
d7b69dc855
commit
4ba85c3727
1 changed files with 0 additions and 3 deletions
|
@ -307,9 +307,6 @@ Test(queue, init_destroy)
|
|||
int ret;
|
||||
struct queue q;
|
||||
|
||||
ret = queue_init(&q, 100, &memtype_heap);
|
||||
cr_assert_eq(ret, -1); /* Should fail as size is not 2^x */
|
||||
|
||||
ret = queue_init(&q, 1024, &memtype_heap);
|
||||
cr_assert_eq(ret, 0); /* Should succeed */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue