cvs: pear /PHPUnit2/Framework Assert.php

From: Date: Mon, 18 Apr 2005 08:26:45 +0000
Subject: cvs: pear /PHPUnit2/Framework Assert.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-31275@lists.php.net to get a copy of this message
sebastian Mon Apr 18 04:26:45 2005 EDT Modified files: /pear/PHPUnit2/Framework Assert.php Log: MFB: Call PHPUnit2_Framework_Assert::failSame() instead of PHPUnit2_Framework_Assert::failNotSame() in PHPUnit2_Framework_Assert::assertNotSame(). http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.35&r2=1.36&ty=u Index: pear/PHPUnit2/Framework/Assert.php diff -u pear/PHPUnit2/Framework/Assert.php:1.35 pear/PHPUnit2/Framework/Assert.php:1.36 --- pear/PHPUnit2/Framework/Assert.php:1.35 Sat Apr 16 13:16:37 2005 +++ pear/PHPUnit2/Framework/Assert.php Mon Apr 18 04:26:45 2005 @@ -15,7 +15,7 @@ * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright 2002-2005 Sebastian Bergmann <sb@sebastian-bergmann.de> * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Assert.php,v 1.35 2005/04/16 17:16:37 sebastian Exp $ + * @version CVS: $Id: Assert.php,v 1.36 2005/04/18 08:26:45 sebastian Exp $ * @link http://pear.php.net/package/PHPUnit2 * @since File available since Release 2.0.0 */ @@ -240,7 +240,7 @@ if ((is_object($expected) || is_null($expected)) && (is_object($actual) || is_null($actual))) { if ($expected === $actual) { - self::failNotSame($expected, $actual, $message); + self::failSame($expected, $actual, $message); } } else { throw new InvalidArgumentException;

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