Skip to content
Permalink
Browse files

create cookie as HTTP instead of NonHttp in test

Cleanup for readability and correctness of unit test in http_loader
  • Loading branch information...
bobthekingofegypt committed Mar 3, 2016
1 parent 17e6007 commit 248e84e9281f464b438ef36b9c36de467dfb13a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/net/http_loader.rs
@@ -838,7 +838,7 @@ fn test_load_sends_secure_cookie_if_http_changed_to_https_due_to_entry_in_hsts_s
let cookie = Cookie::new_wrapped(
cookie_pair,
&cookie_url,
CookieSource::NonHTTP
CookieSource::HTTP
).unwrap();
cookie_jar.push(cookie, CookieSource::HTTP);
}

0 comments on commit 248e84e

Please sign in to comment.
You can’t perform that action at this time.