Fix for RT#78398: t/singlepart.t fails #3

Closed
wants to merge 1 commit into
from
Jump to file
+1 −1
Split
View
@@ -38,7 +38,7 @@ It's base64 encoded.
END_BODY
# $expected_body =~ s/\n/\x0d\x0a/g;
-$expected_string =~ s/\n\z/\x0d\x0a/g;
+$expected_string =~ s/\n/\x0d\x0a/g;
is $email->as_string, $expected_string, 'as_string matches';
is $email->body, $expected_body, 'body matches';