Mercurial > hg > rc1
annotate vendor/pear/mail_mime/tests/test_Bug_10596_1.phpt @ 43:771f6803cc4b default tip
somehow lost the correctly updated metadata so e.g. 'mail' package wasn't being imported
author | Charlie Root |
---|---|
date | Sun, 26 Jan 2025 13:13:49 -0500 |
parents | 1e000243b222 |
children |
rev | line source |
---|---|
0 | 1 --TEST-- |
2 Bug #10596 Incorrect handling of text and html '0' bodies | |
3 --SKIPIF-- | |
4 --FILE-- | |
5 <?php | |
6 include("Mail/mime.php"); | |
7 $mime = new Mail_mime(); | |
8 $mime->setTxtBody('0'); | |
9 $mime->setHTMLBody('0'); | |
10 $body = $mime->get(); | |
11 if ($body){ | |
12 print("OK"); | |
13 }else{ | |
14 print("NO BODY FOUND"); | |
15 } | |
16 --EXPECT-- | |
17 OK |