cvs: pear /PHPUnit2/Framework Assert.php
| From: | Sebastian Bergmann | Date: | Sat, 04 Sep 2004 07:17:25 +0000 |
| Subject: | cvs: pear /PHPUnit2/Framework Assert.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-23619@lists.php.net to get a copy of this message | ||
sebastian Sat Sep 4 03:17:25 2004 EDT
Modified files:
/pear/PHPUnit2/Framework Assert.php
Log:
Fix a bug in PHPUnit2_Framework_Assert::assertEquals().
http://cvs.php.net/diff.php/pear/PHPUnit2/Framework/Assert.php?r1=1.5&r2=1.6&ty=u
Index: pear/PHPUnit2/Framework/Assert.php
diff -u pear/PHPUnit2/Framework/Assert.php:1.5 pear/PHPUnit2/Framework/Assert.php:1.6
--- pear/PHPUnit2/Framework/Assert.php:1.5 Sun Apr 18 02:49:32 2004
+++ pear/PHPUnit2/Framework/Assert.php Sat Sep 4 03:17:22 2004
@@ -12,7 +12,7 @@
// | license@php.net so we can mail you a copy immediately. |
// +------------------------------------------------------------------------+
//
-// $Id: Assert.php,v 1.5 2004/04/18 06:49:32 sebastian Exp $
+// $Id: Assert.php,v 1.6 2004/09/04 07:17:22 sebastian Exp $
//
require_once 'PHPUnit2/Framework/AssertionFailedError.php';
@@ -88,7 +88,7 @@
$expected = self::convertToString($expected);
}
- self::assertEquals(serialize($expected), serialize($actual));
+ self::assertEquals(serialize($expected), serialize($actual), 0, $message);
return;
}