diff --git a/src/http/header/macros.rs b/src/http/header/macros.rs index 4ff377357..d91d1d282 100644 --- a/src/http/header/macros.rs +++ b/src/http/header/macros.rs @@ -63,7 +63,7 @@ macro_rules! common_header_test { } let req = req.finish(); let val = HeaderField::parse(&req); - let exp: Option = $typed; + let exp: Option = $exp; // test parsing assert_eq!(val.ok(), exp);