logo       

cvs: pear /PHPUnit/PHPUnit Assert.php: msg#00559

php.cvs.pear

Subject: cvs: pear /PHPUnit/PHPUnit Assert.php

sebastian Wed Sep 25 02:51:48 2002 EDT

Modified files:
/pear/PHPUnit/PHPUnit Assert.php
Log:
MFB


Index: pear/PHPUnit/PHPUnit/Assert.php
diff -u pear/PHPUnit/PHPUnit/Assert.php:1.1 pear/PHPUnit/PHPUnit/Assert.php:1.2
--- pear/PHPUnit/PHPUnit/Assert.php:1.1 Wed Sep 25 02:00:29 2002
+++ pear/PHPUnit/PHPUnit/Assert.php Wed Sep 25 02:51:48 2002
@@ -17,7 +17,7 @@
// | Sébastien Hordeaux <marms@xxxxxxxxx> |
// +----------------------------------------------------------------------+
//
-// $Id: Assert.php,v 1.1 2002/09/25 06:00:29 sebastian Exp $
+// $Id: Assert.php,v 1.2 2002/09/25 06:51:48 sebastian Exp $
//

/**
@@ -147,7 +147,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) {
@@ -168,7 +168,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>
Google Custom Search

News | FAQ | advertise