summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-06-06 21:19:53 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-06-06 21:19:53 +0200
commit29f3a5fae4c9a8b6d280d2ca185424814354ae04 (patch)
treea66a0b26af53d74ac1cef09ae31cb7e2714c60ce /_test
parent5f312baccd3f152f55bb9ce0364cc18a99191959 (diff)
downloadrpg-29f3a5fae4c9a8b6d280d2ca185424814354ae04.tar.gz
rpg-29f3a5fae4c9a8b6d280d2ca185424814354ae04.tar.bz2
user the MAILHEADER_EOL in quoted printable encoding
darcs-hash:20060606191953-7ad00-0e8098d5d8f4cf5379f3cce0e6899ac11c20a321.gz
Diffstat (limited to '_test')
-rw-r--r--_test/cases/inc/mail_quoted_printable_encode.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/cases/inc/mail_quoted_printable_encode.php b/_test/cases/inc/mail_quoted_printable_encode.php
index d74c0ea3f..c9cb040f1 100644
--- a/_test/cases/inc/mail_quoted_printable_encode.php
+++ b/_test/cases/inc/mail_quoted_printable_encode.php
@@ -12,7 +12,7 @@ class mail_quotedprintable_encode extends UnitTestCase {
function test_spaceend(){
$in = "hello \nhello";
- $out = "hello=20\r\nhello";
+ $out = "hello=20\nhello";
$this->assertEqual(mail_quotedprintable_encode($in),$out);
}
@@ -24,7 +24,7 @@ class mail_quotedprintable_encode extends UnitTestCase {
function test_wrap(){
$in = '123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789';
- $out = "123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234=\r\n56789 123456789";
+ $out = "123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234=\n56789 123456789";
$this->assertEqual(mail_quotedprintable_encode($in,74),$out);
}