From 91d73c850fcf8d73aef3f88fcab132436a69cb46 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 6 Sep 2012 16:52:39 -0700 Subject: [PATCH] Fix test. --- libguac/tests/util/guac_pool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);