cvs: pear(PHPUNIT_2_1) /PHPUnit2/Framework Assert.php

From: Date: Tue, 05 Oct 2004 14:10:21 +0000
Subject: cvs: pear(PHPUNIT_2_1) /PHPUnit2/Framework Assert.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-24618@lists.php.net to get a copy of this message
sebastian Tue Oct 5 10:10:21 2004 EDT Modified files: (Branch: PHPUNIT_2_1) /pear/PHPUnit2/Framework Assert.php Log: MFH: Leftover. http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.14.2.2&r2=1.14.2.3&ty=u Index: pear/PHPUnit2/Framework/Assert.php diff -u pear/PHPUnit2/Framework/Assert.php:1.14.2.2 pear/PHPUnit2/Framework/Assert.php:1.14.2.3 --- pear/PHPUnit2/Framework/Assert.php:1.14.2.2 Tue Oct 5 08:02:55 2004 +++ pear/PHPUnit2/Framework/Assert.php Tue Oct 5 10:10:21 2004 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: Assert.php,v 1.14.2.2 2004/10/05 12:02:55 sebastian Exp $ +// $Id: Assert.php,v 1.14.2.3 2004/10/05 14:10:21 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)) {

« previous php.pear.cvs (#24618) next »