summaryrefslogtreecommitdiffstats
path: root/unit/test-idmap.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-01-07 14:41:18 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-01-07 14:41:18 -0600
commitc4e89c46c8acd51504af71691e85f6e59270f5ff (patch)
tree2843f679e4aec49339b93c0ab273c35e93b2d6d2 /unit/test-idmap.c
parentbf209425e5c11c59fa794295e597aa2ea67690a6 (diff)
downloadofono-c4e89c46c8acd51504af71691e85f6e59270f5ff.tar.bz2
Fix: Update unit test to the new return semantics
Diffstat (limited to 'unit/test-idmap.c')
-rw-r--r--unit/test-idmap.c6
1 files 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);