cvs: pear /PHPUnit2/Framework Assert.php
| From: | Sebastian Bergmann | Date: | Tue, 05 Oct 2004 14:10:01 +0000 |
| Subject: | cvs: pear /PHPUnit2/Framework Assert.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-24617@lists.php.net to get a copy of this message | ||
sebastian Tue Oct 5 10:10:01 2004 EDT
Modified files:
/pear/PHPUnit2/Framework Assert.php
Log:
Leftover.
http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.16&r2=1.17&ty=u
Index: pear/PHPUnit2/Framework/Assert.php
diff -u pear/PHPUnit2/Framework/Assert.php:1.16 pear/PHPUnit2/Framework/Assert.php:1.17
--- pear/PHPUnit2/Framework/Assert.php:1.16 Tue Oct 5 08:02:15 2004
+++ pear/PHPUnit2/Framework/Assert.php Tue Oct 5 10:10:00 2004
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: Assert.php,v 1.16 2004/10/05 12:02:15 sebastian Exp $
+// $Id: Assert.php,v 1.17 2004/10/05 14:10:00 sebastian Exp $
//
require_once 'PHPUnit2/Framework/AssertionFailedError.php';
@@ -104,7 +104,7 @@
*/
public static function assertNotContains($needle, $haystack, $message = '') {
if (is_string($needle) && is_string($haystack)) {
- self::assertFalse(strpos($haystack, $needle) !== FALSE ? TRUE : FALSE);
+ self::assertFalse(strpos($haystack, $needle) !== FALSE ? TRUE : FALSE, $message);
}
else if (is_array($haystack)) {