|
cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit Assert.php: msg#00558php.cvs.pear
sebastian Wed Sep 25 02:50:53 2002 EDT Modified files: (Branch: ZEND_ENGINE_2) /pear/PHPUnit/PHPUnit Assert.php Log: Remove comments on need for Zend Engine 2. Fix assert messages. Index: pear/PHPUnit/PHPUnit/Assert.php diff -u pear/PHPUnit/PHPUnit/Assert.php:1.1.2.1 pear/PHPUnit/PHPUnit/Assert.php:1.1.2.2 --- pear/PHPUnit/PHPUnit/Assert.php:1.1.2.1 Wed Sep 25 02:23:15 2002 +++ pear/PHPUnit/PHPUnit/Assert.php Wed Sep 25 02:50:53 2002 @@ -17,7 +17,7 @@ // | Sébastien Hordeaux <marms@xxxxxxxxx> | // +----------------------------------------------------------------------+ // -// $Id: Assert.php,v 1.1.2.1 2002/09/25 06:23:15 sebastian Exp $ +// $Id: Assert.php,v 1.1.2.2 2002/09/25 06:50:53 sebastian Exp $ // /** @@ -138,7 +138,6 @@ /** * Asserts that two objects refer to the same object. - * This requires the Zend Engine 2 (to work properly). * * @param object * @param object @@ -147,7 +146,7 @@ */ function assertSame($expected, $actual, $message = '') { if (empty($message)) { - $message = 'expected two objects to refer to the same object'; + $message = 'expected two variables to refer to the same object'; } if ($actual !== $expected) { @@ -159,7 +158,6 @@ /** * Asserts that two objects refer not to the same object. - * This requires the Zend Engine 2 (to work properly). * * @param object * @param object @@ -168,7 +166,7 @@ */ function assertNotSame($expected, $actual, $message = '') { if (empty($message)) { - $message = 'expected two objects to refer to different objects'; + $message = 'expected two variables to refer to different objects'; } if ($actual === $expected) { -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit RepeatedTest.php TestCase.php TestDecorator.php TestFailure.php TestListener.php TestResult.php TestSuite.php: 00558, Sebastian Bergmann |
|---|---|
| Next by Date: | cvs: pear /PHPUnit/PHPUnit Assert.php: 00558, Sebastian Bergmann |
| Previous by Thread: | cvs: pear(ZEND_ENGINE_2) /PHPUnit/PHPUnit RepeatedTest.php TestCase.php TestDecorator.php TestFailure.php TestListener.php TestResult.php TestSuite.phpi: 00558, Sebastian Bergmann |
| Next by Thread: | cvs: pear /PHPUnit/PHPUnit Assert.php: 00558, Sebastian Bergmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |