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