notmuch: add example message with inline image.

This commit is contained in:
Bill Thiede 2021-11-10 19:04:07 -08:00
parent 56df23065c
commit 1477980395
2 changed files with 15011 additions and 1 deletions

View File

@ -611,7 +611,7 @@ mod tests {
let nm = Notmuch::with_config("testdata/notmuch.config");
nm.new()?;
let c = nm.count("*")?;
assert_eq!(c, 12);
assert_eq!(c, 13);
Ok(())
}
@ -633,12 +633,14 @@ mod tests {
Part {
id: 2.into(),
content_type: "text/plain".to_string(),
content_disposition: Some("inline".to_string()),
content: Some(Content::String("Spam detection software".to_string())),
..Default::default()
},
Part {
id: 3.into(),
content_type: "message/rfc822".to_string(),
content_disposition: Some("inline".to_string()),
content: Some(Content::Rfc822(vec![Rfc822 {
headers: Headers {
subject: "Re: Registration goof".to_string(),

File diff suppressed because it is too large Load Diff