test message rfc822
This commit is contained in:
parent
3e8f374723
commit
539f264d44
1 changed files with 11 additions and 0 deletions
|
@ -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]
|
||||
fn test_parameter() {
|
||||
assert_eq!(
|
||||
|
|
Loading…
Reference in a new issue