diff options
author | Josh Matthews <josh@joshmatthews.net> | 2021-04-07 09:20:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 09:20:59 -0400 |
commit | 7fae9097a139f16ff7394cd09250951c517888eb (patch) | |
tree | 8aabbff64b31db6f9a2ad277b33c259776d6ca1a /components/net/tests | |
parent | ca568d206489f493179d6fd5b3e68a3c3fc47efc (diff) | |
download | servo-7fae9097a139f16ff7394cd09250951c517888eb.tar.gz servo-7fae9097a139f16ff7394cd09250951c517888eb.zip |
Try to work around windows unit test failures.
Diffstat (limited to 'components/net/tests')
-rw-r--r-- | components/net/tests/http_loader.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/components/net/tests/http_loader.rs b/components/net/tests/http_loader.rs index e51d7d41fb6..462fe374483 100644 --- a/components/net/tests/http_loader.rs +++ b/components/net/tests/http_loader.rs @@ -352,8 +352,7 @@ fn test_request_and_response_message_from_devtool_without_pipeline_id() { let (devtools_chan, devtools_port) = unbounded(); let response = fetch(&mut request, Some(devtools_chan)); assert!(response - .internal_response - .unwrap() + .actual_response() .status .unwrap() .0 @@ -793,7 +792,6 @@ fn test_cookie_set_with_httponly_should_not_be_available_using_getcookiesforurl( } #[test] -#[cfg(not(target_os = "windows"))] fn test_when_cookie_received_marked_secure_is_ignored_for_http() { let handler = move |_: HyperRequest<Body>, response: &mut HyperResponse<Body>| { response.headers_mut().insert( @@ -822,8 +820,7 @@ fn test_when_cookie_received_marked_secure_is_ignored_for_http() { let _ = server.close(); assert!(response - .internal_response - .unwrap() + .actual_response() .status .unwrap() .0 |