Skip to content

Commit

Permalink
update failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ducaale committed May 7, 2023
1 parent 94799b4 commit 0cea500
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ fn named_sessions() {
"cook1": { "value": "one", "path": "/" },
"lang": { "value": "en" }
},
"headers": {}
"headers": []
})
);
}
Expand Down Expand Up @@ -2102,7 +2102,7 @@ fn anonymous_sessions() {
},
"auth": { "type": "basic", "raw_auth": "me:pass" },
"cookies": { "cook1": { "value": "one" } },
"headers": { "hello": "world" }
"headers": [ {"key": "hello", "value": "world"} ]
})
);
}
Expand Down Expand Up @@ -2181,9 +2181,9 @@ fn session_files_are_created_in_read_only_mode() {
"cookies": {
"lang": { "value": "ar" }
},
"headers": {
"hello": "world"
}
"headers": [
{"key": "hello", "value": "world"}
]
})
);
}
Expand Down Expand Up @@ -2299,7 +2299,7 @@ fn expired_cookies_are_removed_from_session() {
"value": "random_string",
}
},
"headers": {}
"headers": []
})
);
}
Expand Down Expand Up @@ -2366,7 +2366,7 @@ fn cookies_override_each_other_in_the_correct_order() {
"cook1": { "value": "one" },
"cook2": { "value": "two" }
},
"headers": {}
"headers": []
})
);
}
Expand Down Expand Up @@ -2475,9 +2475,9 @@ fn auth_netrc_is_not_persisted_in_session() {
},
"auth": { "type": null, "raw_auth": null },
"cookies": {},
"headers": {
"hello": "world"
}
"headers": [
{"key": "hello", "value": "world"}
]
})
);
}
Expand Down

0 comments on commit 0cea500

Please sign in to comment.