check: uri: Check return value

CID #1455381

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/472>
This commit is contained in:
Edward Hervey 2020-05-08 08:03:54 +02:00 committed by Edward Hervey
parent 9daf1ca44e
commit 67df099241

View file

@ -860,7 +860,7 @@ GST_START_TEST (test_url_constructors)
url2 = gst_uri_copy (url1);
fail_unless (gst_uri_equal (url1, url2));
gst_uri_set_query_value (url2, "key", "value");
fail_unless (gst_uri_set_query_value (url2, "key", "value"));
fail_unless (!gst_uri_equal (url1, url2));
gst_uri_unref (url2);