tests: Don't check end reason in feedback handler

This allows to reuse the feedback handler and we check the
reason in the actual test function anyway.
This commit is contained in:
Guido Günther
2020-07-24 11:58:26 +02:00
parent e8d189ebe6
commit cfab476edb
+3 -2
View File
@@ -56,8 +56,9 @@ on_feedback_ended (LfbEvent *event, LfbEvent **cmp)
g_assert_true (LFB_IS_EVENT (event));
g_assert_null (*cmp);
g_debug ("Feedback ended for %s", lfb_event_get_event (event));
g_assert_cmpint (lfb_event_get_end_reason (event), ==, LFB_EVENT_END_REASON_EXPLICIT);
g_debug ("Feedback ended for %s: %d",
lfb_event_get_event (event),
lfb_event_get_end_reason (event));
/* "Return" event */
*cmp = event;