#20876 [NEW]: Documentation error in PHPUnit::assertNull and assertNotNull
| From: | heyjohnlim at yahoo dot com | Date: | Sat, 07 Dec 2002 13:28:49 +0000 |
| Subject: | #20876 [NEW]: Documentation error in PHPUnit::assertNull and assertNotNull | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11425@lists.php.net to get a copy of this message | ||
From: heyjohnlim@yahoo.com
Operating system: -
PHP version: 4.3.0RC2
PHP Bug Type: PEAR related
Bug description: Documentation error in PHPUnit::assertNull and assertNotNull
Hello,
In http://pear.php.net/manual/en/packages.phpunit.phpunit-assert.php
PHPUnit_Assert::assertNotNull
Fail
Fails if the object is not null.
^^^^
This should be fail if the object is null
Similar problem with assertNull!
Regards, John
--
Edit bug report at http://bugs.php.net/?id=20876&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20876&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20876&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20876&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20876&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20876&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20876&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20876&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20876&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20876&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20876&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20876&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20876&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20876&r=isapi