mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
more tests
This commit is contained in:
@ -39,6 +39,9 @@ fn test_request_cookies() {
|
||||
let cookie = cookie.unwrap();
|
||||
assert_eq!(cookie.name(), "cookie1");
|
||||
assert_eq!(cookie.value(), "value1");
|
||||
|
||||
let cookie = req.cookie("cookie-unknown");
|
||||
assert!(cookie.is_none());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user