~ubuntu-branches/ubuntu/trusty/php-mail-mime/trusty

« back to all changes in this revision

Viewing changes to Mail_Mime-1.8.2/tests/test_Bug_8541_1.phpt

  • Committer: Package Import Robot
  • Author(s): Thomas Goirand
  • Date: 2012-01-18 19:26:59 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20120118192659-hrcynaknl79awjyg
Tags: 1.8.2-1
* New upstream version (Closes: #656265).
* Now using the PKG PEAR team as maintainer.
* Bumped Standards-Version to 3.9.2 (no change needed).
* Switching to pkg-php-tools and dh 8 auto-sequencer (so, rewrote
debian/rules).
* Now using DEP5 format for debian/copyright.
* Now using source format 3.0 (quilt).
* Fixed Vcs fields.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
Bug #8541   mimePart.php line delimiter is \r
 
3
--SKIPIF--
 
4
--FILE--
 
5
<?php
 
6
error_reporting(E_ALL);
 
7
$mime = file_get_contents('Mail/mime.php', 1);
 
8
$mimePart = file_get_contents('Mail/mimePart.php', 1);
 
9
if (strpos($mime, "\r")){
 
10
    print("\\r found in mime.php\n");
 
11
}elseif (strpos($mime, "\t")){
 
12
    print("\\t found in mime.php\n");
 
13
}elseif (strpos($mimePart, "\r")){
 
14
    print("\\r found in mimePart.php\n");
 
15
}elseif (strpos($mimePart, "\t")){
 
16
    print("\\t found in mimePart.php\n");
 
17
}
 
18
print('OK');
 
19
--EXPECT--
 
20
OK