mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Upgrade to rust-url 1.0 and hyper 0.9
This commit is contained in:
parent
305c283602
commit
7932ab6ac2
76 changed files with 524 additions and 888 deletions
|
@ -267,7 +267,7 @@ fn test_secure_url_does_not_affect_non_http_schemas() {
|
|||
let url = Url::parse("file://mozilla.org").unwrap();
|
||||
let secure = secure_url(&url);
|
||||
|
||||
assert_eq!(&secure.scheme, "file");
|
||||
assert_eq!(secure.scheme(), "file");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -275,5 +275,5 @@ fn test_secure_url_forces_an_http_host_in_list_to_https() {
|
|||
let url = Url::parse("http://mozilla.org").unwrap();
|
||||
let secure = secure_url(&url);
|
||||
|
||||
assert_eq!(&secure.scheme, "https");
|
||||
assert_eq!(secure.scheme(), "https");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue