mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
check: Use fail_unless_equals_int instead of fail_if
Makes the error message more interesting
This commit is contained in:
parent
86933b40e9
commit
f8b8c0476a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue