mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
tests: Make use of g_assert_no_error when it makes sense
This commit is contained in:
parent
b9ce7db53d
commit
8458d0220e
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ my_bus_callback (GstBus * bus, GstMessage * message, gpointer data)
|
|||
gst_message_parse_error (message, &err, &debug);
|
||||
GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (pipeline),
|
||||
GST_DEBUG_GRAPH_SHOW_ALL, "ges-integration-error");
|
||||
fail_unless (FALSE, "Got an error on the bus: Source: %s, message: %s\n",
|
||||
GST_MESSAGE_SRC_NAME (message), err ? err->message : "Uknown");
|
||||
|
||||
g_assert_no_error (err);
|
||||
g_error_free (err);
|
||||
g_free (debug);
|
||||
g_main_loop_quit (loop);
|
||||
|
|
Loading…
Reference in a new issue