mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Add unit tests
This commit is contained in:
parent
63a7e8efdf
commit
16f1947e24
3 changed files with 120 additions and 7 deletions
|
@ -21,7 +21,7 @@ fn run(set_location: &str, set_cookies: &[&str], final_location: &str) -> String
|
|||
if let Ok(SetCookie(cookies)) = header {
|
||||
for bare_cookie in cookies {
|
||||
if let Some(cookie) = Cookie::new_wrapped(bare_cookie, &url, source) {
|
||||
storage.push(cookie, source);
|
||||
storage.push(cookie, &url, source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue