X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Ftest%2Ftest-hashmap-plain.c;h=ce686b650caf7d6f7dedec3666016ddd8400ac91;hp=8f7c039e3d514a768529d5783a2cde0ee69ab0dd;hb=7ad63f57b6ce7ae9e3cc19dcb441f0a4494fa3f2;hpb=09a65f92994445d8fecca34e71b423a8be1769bf diff --git a/src/test/test-hashmap-plain.c b/src/test/test-hashmap-plain.c index 8f7c039e3..ce686b650 100644 --- a/src/test/test-hashmap-plain.c +++ b/src/test/test-hashmap-plain.c @@ -194,8 +194,8 @@ static void test_hashmap_move(void) { hashmap_put(m, "key 3", val3); hashmap_put(m, "key 4", val4); - hashmap_move(n, NULL); - hashmap_move(n, m); + assert(hashmap_move(n, NULL) == 0); + assert(hashmap_move(n, m) == 0); assert_se(hashmap_size(m) == 1); r = hashmap_get(m, "key 1");