Changeset 36764
- Timestamp:
- 02/28/2016 07:55:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions.php
r35276 r36764 72 72 $this->assertFalse(size_format('baba')); 73 73 $this->assertFalse(size_format(array())); 74 } 75 76 /** 77 * @ticket 35972 78 */ 79 function test_bool_from_yn() { 80 $this->assertTrue( bool_from_yn( 'Y' ) ); 81 $this->assertTrue( bool_from_yn( 'y' ) ); 82 $this->assertFalse( bool_from_yn( 'n' ) ); 74 83 } 75 84
Note: See TracChangeset
for help on using the changeset viewer.