tests: filesrc: more Windows fixes
authorTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 19:32:08 +0000 (19:32 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 11 Jan 2018 19:32:08 +0000 (19:32 +0000)
Fix typo in newly-added windows uri test.

tests/check/elements/filesrc.c

index ead87aa..e081685 100644 (file)
@@ -383,9 +383,9 @@ GST_START_TEST (test_uri_interface)
 #ifdef G_OS_WIN32
   /* should accept file:///c:/foo/bar.txt URIs */
   fail_unless (gst_uri_handler_set_uri (GST_URI_HANDLER (src),
-          "file://c:/foo/bar", NULL));
+          "file:///c:/foo/bar", NULL));
   location = gst_uri_handler_get_uri (GST_URI_HANDLER (src));
-  fail_unless_equals_string (location, "file://c:/foo/bar");
+  fail_unless_equals_string (location, "file:///c:/foo/bar");
   g_free (location);
   location = NULL;
   g_object_get (G_OBJECT (src), "location", &location, NULL);