diff --git a/libguac/tests/util/guac_pool.c b/libguac/tests/util/guac_pool.c index 77783ac7..cd08e60a 100644 --- a/libguac/tests/util/guac_pool.c +++ b/libguac/tests/util/guac_pool.c @@ -93,10 +93,10 @@ void test_guac_pool() { } - /* Pool is filled to minimum now. Next value should be size + 1. */ + /* Pool is filled to minimum now. Next value should be equal to size. */ value = guac_pool_next_int(pool); - CU_ASSERT_EQUAL(POOL_SIZE+1, value); + CU_ASSERT_EQUAL(POOL_SIZE, value); /* Free pool */ guac_pool_free(pool);