check: Use fail_unless_equals_int instead of fail_if

Makes the error message more interesting
This commit is contained in:
Edward Hervey 2010-04-13 11:29:30 +02:00
parent 86933b40e9
commit f8b8c0476a

View file

@ -167,7 +167,7 @@ udpsink_test (gboolean use_buffer_lists)
gst_check_teardown_element (udpsink); gst_check_teardown_element (udpsink);
if (use_buffer_lists) if (use_buffer_lists)
fail_if (data_size != render_list_bytes_received); fail_unless_equals_int (data_size, render_list_bytes_received);
} }
GST_START_TEST (test_udpsink) GST_START_TEST (test_udpsink)