diff options
Diffstat (limited to 'test/testpools.c')
-rw-r--r-- | test/testpools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testpools.c b/test/testpools.c index 9479926d8..abf63d700 100644 --- a/test/testpools.c +++ b/test/testpools.c @@ -44,10 +44,10 @@ static void pools1_execute(void) { /* Empting the pool again. */
for (i = 0; i < MAX_THREADS; i++)
- test_assert(chPoolAlloc(&mp1) != NULL, "#1"); /* Pool list empty.*/
+ test_assert(1, chPoolAlloc(&mp1) != NULL, "list empty");
/* Now must be empty. */
- test_assert(chPoolAlloc(&mp1) == NULL, "#2"); /* Pool list not empty.*/
+ test_assert(2, chPoolAlloc(&mp1) == NULL, "list not empty");
}
const struct testcase testpools1 = {
|