[core] test for bool_escape(null) == false
This commit is contained in:
parent
63c6f9d2ac
commit
069fb92f54
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ class PolyfillsTest extends TestCase
|
|||
$this->assertTrue(bool_escape(true));
|
||||
$this->assertFalse(bool_escape(false));
|
||||
|
||||
$this->assertFalse(bool_escape(null));
|
||||
|
||||
$this->assertTrue(bool_escape("true"));
|
||||
$this->assertFalse(bool_escape("false"));
|
||||
|
||||
|
|
Reference in a new issue