fix autonamenegativelength test
This commit is contained in:
@@ -50,7 +50,7 @@ class AutonameTest extends PHPUnit_Framework_TestCase {
|
|||||||
*/
|
*/
|
||||||
public function testAutonameNegativeLength() {
|
public function testAutonameNegativeLength() {
|
||||||
$autoname1=autoname(-23);
|
$autoname1=autoname(-23);
|
||||||
$this->assertEquals(0, count($autoname1));
|
$this->assertEquals(0, strlen($autoname1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function testAutonameMaxLength() {
|
// public function testAutonameMaxLength() {
|
||||||
|
|||||||
Reference in New Issue
Block a user