Fix: Update unit test to the new return semantics

This commit is contained in:
Denis Kenzior 2010-01-07 14:41:18 -06:00
parent bf209425e5
commit c4e89c46c8
1 changed files with 3 additions and 3 deletions

View File

@ -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);