Changeset 47343 for branches/3.7/tests/phpunit/tests/formatting/MapDeep.php
- Timestamp:
- 02/22/2020 12:05:12 PM (6 years ago)
- Location:
- branches/3.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/formatting/MapDeep.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
-
branches/3.7/tests/phpunit/tests/formatting/MapDeep.php
r25002 r47343 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)