mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01:00
fix macro
This commit is contained in:
parent
43a0e8102f
commit
30da2e5618
@ -63,7 +63,7 @@ macro_rules! common_header_test {
|
|||||||
}
|
}
|
||||||
let req = req.finish();
|
let req = req.finish();
|
||||||
let val = HeaderField::parse(&req);
|
let val = HeaderField::parse(&req);
|
||||||
let exp: Option<HeaderField> = $typed;
|
let exp: Option<HeaderField> = $exp;
|
||||||
|
|
||||||
// test parsing
|
// test parsing
|
||||||
assert_eq!(val.ok(), exp);
|
assert_eq!(val.ok(), exp);
|
||||||
|
Loading…
Reference in New Issue
Block a user