mirror of
https://github.com/actix/actix-web.git
synced 2024-12-16 21:26:34 +00:00
fix macro
This commit is contained in:
parent
43a0e8102f
commit
30da2e5618
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue