Changeset 26370 for trunk/tests/phpunit/tests/formatting/MapDeep.php
- Timestamp:
- 11/25/2013 10:49:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/MapDeep.php
r25002 r26370 5 5 */ 6 6 class Tests_Formatting_MapDeep extends WP_UnitTestCase { 7 function setUp() { 8 if ( ! function_exists( 'map_deep' ) ) { 9 $this->markTestSkipped( "map_deep function doesn't exist" ); 10 } 11 12 parent::setUp(); 13 } 14 7 15 function test_map_deep_with_any_function_over_empty_array_should_return_empty_array() { 8 16 $this->assertEquals( array(), map_deep( array( $this, 'return_baba' ), array() ) );
Note: See TracChangeset
for help on using the changeset viewer.