X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Ftest%2Ftest-hashmap-plain.c;h=63f2f3e8ff0671b6b047fa60c5386225df79d5a6;hb=e80afdb3e4a1239ce0bffa4215d6a227caf3d833;hp=d27d5ec81912e9a2cf36443d14626fcdfc49914b;hpb=455971c1493fc6dc3125d235cf4ea6102cac626d;p=elogind.git diff --git a/src/test/test-hashmap-plain.c b/src/test/test-hashmap-plain.c index d27d5ec81..63f2f3e8f 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); - assert(hashmap_move(n, NULL) == 0); - assert(hashmap_move(n, m) == 0); + assert_se(hashmap_move(n, NULL) == 0); + assert_se(hashmap_move(n, m) == 0); assert_se(hashmap_size(m) == 1); r = hashmap_get(m, "key 1");