mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make Response::url_list be a bare Vec<ServoUrl>
This commit is contained in:
parent
28f1f669bc
commit
7b16021a89
5 changed files with 29 additions and 20 deletions
|
@ -418,7 +418,7 @@ fn test_fetch_response_is_opaque_filtered() {
|
|||
assert_eq!(fetch_response.response_type, ResponseType::Opaque);
|
||||
|
||||
assert!(fetch_response.url().is_none());
|
||||
assert!(fetch_response.url_list.into_inner().len() == 0);
|
||||
assert!(fetch_response.url_list.is_empty());
|
||||
// this also asserts that status message is "the empty byte sequence"
|
||||
assert!(fetch_response.status.is_none());
|
||||
assert_eq!(fetch_response.headers, Headers::new());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue