test: add missing assertion

Follow-up for 5a5cb6ba50.
Fixes CID#1643217.
This commit is contained in:
Yu Watanabe
2025-11-16 05:51:22 +09:00
parent 8e4ef4a18c
commit de8ea7e219
+1 -1
View File
@@ -1075,7 +1075,7 @@ static int exit_on_idle_defer_handler(sd_event_source *s, void *userdata) {
/* Disable ourselves, which should trigger exit-on-idle after the second iteration */
if (*c == 2)
sd_event_source_set_enabled(s, SD_EVENT_OFF);
ASSERT_OK(sd_event_source_set_enabled(s, SD_EVENT_OFF));
return 0;
}