Re: PEAR & Zend Engine 2

From: Date: Thu, 11 Jul 2002 14:59:42 +0000
Subject: Re: PEAR & Zend Engine 2
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7663@lists.php.net to get a copy of this message
Wolfram Kriesing wrote: > does assertSame not do what assertEquals should do? Looking at the JUnit JavaDoc: assertEquals: "Asserts that two objects are equal." assertSame: "Asserts that two objects refer to the same object." These are different! PHPUnit_Assert::assertSame() checks if two variables reference the same object. PHPUnit_Assert::assertEquals() doesn't now about objects yet, but I'm about to change that. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.pear.dev (#7663) next »