test: use assert_se() instead of assert()

This commit is contained in:
Yu Watanabe
2021-10-12 15:20:28 +09:00
parent 1c71302f70
commit f21b863eeb
44 changed files with 131 additions and 131 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ static void test_socket_address_parse_one(const char *in, int ret, int family, c
r = socket_address_print(&a, &out);
if (r < 0)
log_error_errno(r, "Printing failed for \"%s\": %m", in);
assert(r >= 0);
assert_se(r >= 0);
assert_se(a.type == 0);
}