We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9675653 commit e0649b0Copy full SHA for e0649b0
2 files changed
src/lib.rs
@@ -1909,6 +1909,14 @@ mod tests {
1909
};
1910
}
1911
1912
+ #[test]
1913
+ fn test_recursion_limit() {
1914
+ let mail_filepath = "./tests/files/nested.eml";
1915
+ let mail = std::fs::read(mail_filepath)
1916
+ .expect(&format!("Unable to open the file [{}]", mail_filepath));
1917
+ parse_mail(&mail).err().unwrap();
1918
+ }
1919
+
1920
#[test]
1921
fn test_body_content_encoding_with_multipart() {
1922
let mail_filepath = "./tests/files/test_email_01.txt";
0 commit comments