1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00

fix macro

This commit is contained in:
Rob Ede 2021-12-02 14:59:41 +00:00
parent 43a0e8102f
commit 30da2e5618
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -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);