mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-27 10:39:03 +02:00
add tests for camel case headers rendering
This commit is contained in:
@ -90,6 +90,10 @@ fn test_simple() {
|
||||
// read response
|
||||
let bytes = srv.block_on(response.body()).unwrap();
|
||||
assert_eq!(bytes, Bytes::from_static(STR.as_ref()));
|
||||
|
||||
// camel case
|
||||
let response = srv.block_on(srv.post("/").camel_case().send()).unwrap();
|
||||
assert!(response.status().is_success());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user