test message rfc822

This commit is contained in:
Quentin 2023-07-04 15:01:11 +02:00
parent 3e8f374723
commit 539f264d44
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -474,6 +474,17 @@ mod tests {
); );
} }
#[test]
fn test_content_type_message() {
assert_eq!(
Type::try_from(&lazy::Type("message/rfc822")),
Ok(Type::Message(MessageDesc {
subtype: MessageSubtype::RFC822,
unknown_parameters: vec![],
}))
);
}
/* #[test] /* #[test]
fn test_parameter() { fn test_parameter() {
assert_eq!( assert_eq!(