From 1e88971ec889a55121ec30143f008917cdcaf85d Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 12 Jan 2023 15:55:06 +0100 Subject: [PATCH] uriplaylistbin: pass valid URI in tests Fix critical raised by libsoup, see https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/346 Part-of: --- utils/uriplaylistbin/tests/uriplaylistbin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/uriplaylistbin/tests/uriplaylistbin.rs b/utils/uriplaylistbin/tests/uriplaylistbin.rs index 8f741960..a27cab0c 100644 --- a/utils/uriplaylistbin/tests/uriplaylistbin.rs +++ b/utils/uriplaylistbin/tests/uriplaylistbin.rs @@ -47,14 +47,14 @@ impl TestMedia { fn missing_file() -> Self { Self { - uri: "file:///not-there.ogg".to_string(), + uri: "file://not-there.ogg".to_string(), len: 10.mseconds(), } } fn missing_http() -> Self { Self { - uri: "http:///not-there.ogg".to_string(), + uri: "http://not-there.ogg".to_string(), len: 10.mseconds(), } }