1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-09 03:53:00 +00: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 val = HeaderField::parse(&req);
let exp: Option<HeaderField> = $typed;
let exp: Option<HeaderField> = $exp;
// test parsing
assert_eq!(val.ok(), exp);