1
0
Fork 0
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:
Steffen Vogel 2017-02-15 17:13:13 -03:00
parent d7b69dc855
commit 4ba85c3727

View file

@ -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 */