use strlen instead of count(php7.2 fails)
This commit is contained in:
		
					parent
					
						
							
								6e313736f4
							
						
					
				
			
			
				commit
				
					
						bcc298204e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue