Ticket #35972: 35972.diff
File 35972.diff, 558 bytes (added by , 8 years ago) |
---|
-
tests/phpunit/tests/functions.php
51 51 $this->assertInternalType( 'string', $args['bar'] ); 52 52 } 53 53 54 /** 55 * @ticket #35972 56 */ 57 function test_bool_from_yn() { 58 $this->assertTrue(bool_from_yn('Y')); 59 $this->assertTrue(bool_from_yn('y')); 60 $this->assertFalse(bool_from_yn('n')); 61 } 62 54 63 function test_size_format() { 55 64 $b = 1; 56 65 $kb = 1024;