chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
455971c
)
test: use assert_se in test_hashmap_move
author
Michal Schmidt
<mschmidt@redhat.com>
Tue, 4 Nov 2014 16:04:16 +0000
(17:04 +0100)
committer
Michal Schmidt
<mschmidt@redhat.com>
Tue, 4 Nov 2014 16:05:01 +0000
(17:05 +0100)
src/test/test-hashmap-plain.c
patch
|
blob
|
history
diff --git
a/src/test/test-hashmap-plain.c
b/src/test/test-hashmap-plain.c
index d27d5ec81912e9a2cf36443d14626fcdfc49914b..63f2f3e8ff0671b6b047fa60c5386225df79d5a6 100644
(file)
--- 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");