[systemd-commits] src/test
Michal Schmidt
michich at kemper.freedesktop.org
Tue Nov 4 08:05:48 PST 2014
src/test/test-hashmap-plain.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e80afdb3e4a1239ce0bffa4215d6a227caf3d833
Author: Michal Schmidt <mschmidt at redhat.com>
Date: Tue Nov 4 17:04:16 2014 +0100
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 d27d5ec..63f2f3e 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");
More information about the systemd-commits
mailing list