Commit 42f3f8c9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

http: update file test

parent 5b27ae1c
......@@ -139,8 +139,7 @@ int main(void)
assert(!vlc_http_file_can_seek(f));
assert(vlc_http_file_get_size(f) == (uintmax_t)-1);
str = vlc_http_file_get_redirect(f);
assert(str != NULL
&& !strcmp(str, "https://www.example.com:8443/somewhere/else/"));
assert(str != NULL && !strcmp(str, "/somewhere/else/"));
free(str);
vlc_http_file_destroy(f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment