mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-07 12:27:11 +00:00
Fix test assertions that did not verify the intended behavior
This commit is contained in:
@@ -45,8 +45,8 @@ class TextTest extends NodeTestCase
|
||||
*/
|
||||
public function testIsBlank($blank)
|
||||
{
|
||||
$this->isTrue((new TextNode($blank, 1))->isBlank());
|
||||
$this->isTrue((new TextNode(\chr(0xEF).\chr(0xBB).\chr(0xBF).$blank, 1))->isBlank());
|
||||
$this->assertTrue((new TextNode($blank, 1))->isBlank());
|
||||
$this->assertTrue((new TextNode(\chr(0xEF).\chr(0xBB).\chr(0xBF).$blank, 1))->isBlank());
|
||||
}
|
||||
|
||||
public static function getIsBlankData()
|
||||
|
||||
Reference in New Issue
Block a user