From 3e3821682c0009acb9651799b961f41ed3027e61 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 20 Jul 2022 12:27:49 +0200 Subject: Move back to mainline mail-parser - this removes the bug introduced in 0fe5fe071 - but adds some bugs where the body structure is not returned properly --- tests/parsing-crates/mail_parser.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/parsing-crates/mail_parser.rs b/tests/parsing-crates/mail_parser.rs index 165bace..8b277a3 100644 --- a/tests/parsing-crates/mail_parser.rs +++ b/tests/parsing-crates/mail_parser.rs @@ -1,10 +1,10 @@ -use mail_parser_superboum::Message; // FAIL +use mail_parser_superboum::Message; // FAIL + //use mail_parser_048::Message; // PASS //use mail_parser_05::Message; // PASS //use mail_parser_main::Message; // PASS //use mail_parser_db61a03::Message; // PASS - #[test] fn test1() { let input = br#"Content-Type: multipart/mixed; boundary="1234567890123456789012345678901234567890123456789012345678901234567890123456789012" @@ -37,7 +37,6 @@ Content-Type: text/plain dbg!(message); } - #[test] fn test2() { let input = br#"Content-Type: message/rfc822 @@ -54,7 +53,7 @@ Content-Type: text/plain #[test] fn test3() { -let input = br#"Content-Type: multipart/mixed; boundary=":foo" + let input = br#"Content-Type: multipart/mixed; boundary=":foo" --:foo --:foo -- cgit v1.2.3