Commit 16359fd6 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

fixed unit test for queue as it now allow arbitrary size

parent 4d932dcb
...@@ -307,9 +307,6 @@ Test(queue, init_destroy) ...@@ -307,9 +307,6 @@ Test(queue, init_destroy)
int ret; int ret;
struct queue q; 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); ret = queue_init(&q, 1024, &memtype_heap);
cr_assert_eq(ret, 0); /* Should succeed */ cr_assert_eq(ret, 0); /* Should succeed */
......
Supports Markdown
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