summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2014-11-04 17:04:16 +0100
committerMichal Schmidt <mschmidt@redhat.com>2014-11-04 17:05:01 +0100
commite80afdb3e4a1239ce0bffa4215d6a227caf3d833 (patch)
tree2829faf9d616786b082a1a0724c574c4330e70bc /src/test
parent455971c1493fc6dc3125d235cf4ea6102cac626d (diff)
test: use assert_se in test_hashmap_move
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-hashmap-plain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-hashmap-plain.c b/src/test/test-hashmap-plain.c
index d27d5ec819..63f2f3e8ff 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");