notmuch: add example message with inline image.
This commit is contained in:
parent
56df23065c
commit
1477980395
@ -611,7 +611,7 @@ mod tests {
|
|||||||
let nm = Notmuch::with_config("testdata/notmuch.config");
|
let nm = Notmuch::with_config("testdata/notmuch.config");
|
||||||
nm.new()?;
|
nm.new()?;
|
||||||
let c = nm.count("*")?;
|
let c = nm.count("*")?;
|
||||||
assert_eq!(c, 12);
|
assert_eq!(c, 13);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -633,12 +633,14 @@ mod tests {
|
|||||||
Part {
|
Part {
|
||||||
id: 2.into(),
|
id: 2.into(),
|
||||||
content_type: "text/plain".to_string(),
|
content_type: "text/plain".to_string(),
|
||||||
|
content_disposition: Some("inline".to_string()),
|
||||||
content: Some(Content::String("Spam detection software".to_string())),
|
content: Some(Content::String("Spam detection software".to_string())),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
Part {
|
Part {
|
||||||
id: 3.into(),
|
id: 3.into(),
|
||||||
content_type: "message/rfc822".to_string(),
|
content_type: "message/rfc822".to_string(),
|
||||||
|
content_disposition: Some("inline".to_string()),
|
||||||
content: Some(Content::Rfc822(vec![Rfc822 {
|
content: Some(Content::Rfc822(vec![Rfc822 {
|
||||||
headers: Headers {
|
headers: Headers {
|
||||||
subject: "Re: Registration goof".to_string(),
|
subject: "Re: Registration goof".to_string(),
|
||||||
|
|||||||
15008
notmuch/testdata/Maildir/cur/1636599693.449241_1.nixos-07,U=2397:2,S
vendored
Normal file
15008
notmuch/testdata/Maildir/cur/1636599693.449241_1.nixos-07,U=2397:2,S
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user