fix raw mime test 1/2

This commit is contained in:
Quentin 2023-08-30 11:46:23 +02:00
parent dfb5b9fe0f
commit 628fbc507d
Signed by: quentin
GPG key ID: E9602264D639FF68

View file

@ -229,7 +229,10 @@ It DOES end with a linebreak.
subtype: mime::r#type::TextSubtype::Plain, subtype: mime::r#type::TextSubtype::Plain,
charset: mime::r#type::Deductible::Inferred(mime::charset::EmailCharset::US_ASCII), charset: mime::r#type::Deductible::Inferred(mime::charset::EmailCharset::US_ASCII),
}), }),
fields: mime::NaiveMIME::default(), fields: mime::NaiveMIME {
raw: &b"\n"[..],
..mime::NaiveMIME::default()
},
}, },
body: &b"This is implicitly typed plain US-ASCII text.\nIt does NOT end with a linebreak."[..], body: &b"This is implicitly typed plain US-ASCII text.\nIt does NOT end with a linebreak."[..],
}), }),
@ -250,6 +253,7 @@ It DOES end with a linebreak.
} }
] ]
}), }),
raw: &b"Content-type: text/plain; charset=us-ascii\n\n"[..],
..mime::NaiveMIME::default() ..mime::NaiveMIME::default()
}, },
}, },