mirror of
https://github.com/videolan/vlc.git
synced 2024-12-14 04:04:45 +08:00
http: update file test
This commit is contained in:
parent
5b27ae1c42
commit
42f3f8c901
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user