From c4e0647bdab2bd10bb67e52fb186831e1f898c46 Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Mon, 30 Dec 2019 17:32:39 +0100 Subject: [PATCH] Remove NULs from mimeparser tests --- src/mimeparser.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mimeparser.rs b/src/mimeparser.rs index 7277c9900..6f7a66544 100644 --- a/src/mimeparser.rs +++ b/src/mimeparser.rs @@ -1130,7 +1130,7 @@ mod tests { Chat-Version: 1.0\n\ \n\ test1\n\ - \x00"; + "; let mimeparser = MimeParser::from_bytes(&context.ctx, &raw[..]).unwrap(); @@ -1160,8 +1160,7 @@ mod tests { test1\n\ \n\ --==break==--\n\ - \n\ - \x00"; + \n"; let mimeparser = MimeParser::from_bytes(&context.ctx, &raw[..]).unwrap();