diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2014-11-04 17:04:16 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2014-11-04 17:05:01 +0100 |
commit | e80afdb3e4a1239ce0bffa4215d6a227caf3d833 (patch) | |
tree | 2829faf9d616786b082a1a0724c574c4330e70bc /src/test/test-hashmap-plain.c | |
parent | sd-bus: rename "connection name" to "description" for the sd-bus API too (diff) | |
download | systemd-e80afdb3e4a1239ce0bffa4215d6a227caf3d833.tar.xz systemd-e80afdb3e4a1239ce0bffa4215d6a227caf3d833.zip |
test: use assert_se in test_hashmap_move
Diffstat (limited to '')
-rw-r--r-- | src/test/test-hashmap-plain.c | 4 |
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"); |