use strlen instead of count(php7.2 fails)
This commit is contained in:
parent
6e313736f4
commit
bcc298204e
|
@ -67,7 +67,7 @@ class TextTest extends \PHPUnit\Framework\TestCase
|
|||
$this->assertEquals(1, strlen($autoname1));
|
||||
|
||||
$autoname2=autoname(1);
|
||||
$this->assertEquals(1, count($autoname2));
|
||||
$this->assertEquals(1, strlen($autoname2));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user