diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-01-07 14:41:18 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-07 14:41:18 -0600 |
commit | c4e89c46c8acd51504af71691e85f6e59270f5ff (patch) | |
tree | 2843f679e4aec49339b93c0ab273c35e93b2d6d2 | |
parent | bf209425e5c11c59fa794295e597aa2ea67690a6 (diff) | |
download | ofono-c4e89c46c8acd51504af71691e85f6e59270f5ff.tar.bz2 |
Fix: Update unit test to the new return semantics
-rw-r--r-- | unit/test-idmap.c | 6 |
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); |