From c4e89c46c8acd51504af71691e85f6e59270f5ff Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 7 Jan 2010 14:41:18 -0600 Subject: [PATCH] Fix: Update unit test to the new return semantics --- unit/test-idmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unit/test-idmap.c b/unit/test-idmap.c index 0a8c4ff4..bf428f86 100644 --- a/unit/test-idmap.c +++ b/unit/test-idmap.c @@ -43,15 +43,15 @@ static void test_alloc() g_assert(bit == 2); bit = idmap_alloc(idmap); - g_assert(bit == 0); + g_assert(bit == 3); idmap_put(idmap, 3); bit = idmap_alloc(idmap); - g_assert(bit == 0); + g_assert(bit == 3); idmap_put(idmap, 0); bit = idmap_alloc(idmap); - g_assert(bit == 0); + g_assert(bit == 3); idmap_put(idmap, 1); bit = idmap_alloc(idmap);