From: Michal Schmidt Date: Tue, 4 Nov 2014 16:04:16 +0000 (+0100) Subject: test: use assert_se in test_hashmap_move X-Git-Tag: v218~570 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=e80afdb3e4a1239ce0bffa4215d6a227caf3d833 test: use assert_se in test_hashmap_move --- 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");