cvs: pear(PHPUNIT_2_2) /PHPUnit2 package.xml /PHPUnit2/Framework Assert.php

From: Date: Mon, 18 Apr 2005 08:24:40 +0000
Subject: cvs: pear(PHPUNIT_2_2) /PHPUnit2 package.xml /PHPUnit2/Framework Assert.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-31274@lists.php.net to get a copy of this message
sebastian Mon Apr 18 04:24:40 2005 EDT Modified files: (Branch: PHPUNIT_2_2) /pear/PHPUnit2 package.xml /pear/PHPUnit2/Framework Assert.php Log: Call PHPUnit2_Framework_Assert::failSame() instead of PHPUnit2_Framework_Assert::failNotSame() in PHPUnit2_Framework_Assert::assertNotSame(). http://cvs.php.net/diff.php/pear/PHPUnit2/package.xml?r1=1.77.2.17&r2=1.77.2.18&ty=u Index: pear/PHPUnit2/package.xml diff -u pear/PHPUnit2/package.xml:1.77.2.17 pear/PHPUnit2/package.xml:1.77.2.18 --- pear/PHPUnit2/package.xml:1.77.2.17 Sun Apr 10 10:00:33 2005 +++ pear/PHPUnit2/package.xml Mon Apr 18 04:24:38 2005 @@ -18,6 +18,8 @@ <date>2005-MM-DD</date> <notes> <![CDATA[ +* Fixed a bug in PHPUnit2_Framework_Assert::assertNotSame() where PHPUnit2_Framework_Assert::failNotSame() was called instead of PHPUnit2_Framework_Assert::failSame(). + * Added missing entry for PHPUnit2_Framework_Error to PHPUnit2_Util_Filter::$filteredFiles. ]]> </notes> http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.22.2.8&r2=1.22.2.9&ty=u Index: pear/PHPUnit2/Framework/Assert.php diff -u pear/PHPUnit2/Framework/Assert.php:1.22.2.8 pear/PHPUnit2/Framework/Assert.php:1.22.2.9 --- pear/PHPUnit2/Framework/Assert.php:1.22.2.8 Sat Jan 22 02:42:44 2005 +++ pear/PHPUnit2/Framework/Assert.php Mon Apr 18 04:24:40 2005 @@ -12,7 +12,7 @@ // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // -// $Id: Assert.php,v 1.22.2.8 2005/01/22 07:42:44 sebastian Exp $ +// $Id: Assert.php,v 1.22.2.9 2005/04/18 08:24:40 sebastian Exp $ // require_once 'PHPUnit2/Framework/AssertionFailedError.php'; @@ -260,7 +260,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 Exception('Unsupported parameter passed to assertNotSame().');

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