]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-sleep.c
tree-wide: Replace assert() by assert_se() when there is side effect
[thirdparty/systemd.git] / src / test / test-sleep.c
index 014b1aa7a2f0eea88d54564cb61b9748159408c5..2e63aace0201ab696fb5ba04af384dd2f6459d2a 100644 (file)
@@ -20,7 +20,7 @@ static void test_parse_sleep_config(void) {
         _cleanup_(free_sleep_configp) SleepConfig *sleep_config = NULL;
         log_info("/* %s */", __func__);
 
-        assert(parse_sleep_config(&sleep_config) == 0);
+        assert_se(parse_sleep_config(&sleep_config) == 0);
 
         _cleanup_free_ char *sum, *sus, *him, *his, *hym, *hys;