Skip to content

Commit

Permalink
create cookie as HTTP instead of NonHttp in test
Browse files Browse the repository at this point in the history
Cleanup for readability and correctness of unit test in http_loader
  • Loading branch information
bobthekingofegypt committed Mar 3, 2016
1 parent 17e6007 commit 248e84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/net/http_loader.rs
Expand Up @@ -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);
}
Expand Down

0 comments on commit 248e84e

Please sign in to comment.