cvs: pear(ZEND_ENGINE_2) /PHPUnit/Framework Assert.php
| From: | Sebastian Bergmann | Date: | Sun, 08 Jun 2003 10:16:33 +0000 |
| Subject: | cvs: pear(ZEND_ENGINE_2) /PHPUnit/Framework Assert.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10765@lists.php.net to get a copy of this message | ||
sebastian Sun Jun 8 06:16:33 2003 EDT
Modified files: (Branch: ZEND_ENGINE_2)
/pear/PHPUnit/Framework Assert.php
Log:
-ComparisonFailure+PHPUnit_Framework_ComparisonFailure
Index: pear/PHPUnit/Framework/Assert.php
diff -u pear/PHPUnit/Framework/Assert.php:1.1.2.3 pear/PHPUnit/Framework/Assert.php:1.1.2.4
--- pear/PHPUnit/Framework/Assert.php:1.1.2.3 Sun Jun 8 05:08:56 2003
+++ pear/PHPUnit/Framework/Assert.php Sun Jun 8 06:16:33 2003
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: Assert.php,v 1.1.2.3 2003/06/08 09:08:56 sebastian Exp $
+// $Id: Assert.php,v 1.1.2.4 2003/06/08 10:16:33 sebastian Exp $
//
require_once 'PHPUnit/Framework/AssertionFailedError.php';
@@ -105,7 +105,7 @@
else if (is_string($actual) && is_string($expected)) {
if ($actual != $expected) {
- throw new ComparisonFailure($message, $expected, $actual);
+ throw new PHPUnit_Framework_ComparisonFailure($message, $expected, $actual);
}
}