Changeset 30687
- Timestamp:
- 12/01/2014 05:01:29 AM (10 years ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r30658 r30687 263 263 264 264 function assertEqualSets( $expected, $actual ) { 265 $this->assertEquals( array(), array_diff( $expected, $actual ) ); 266 $this->assertEquals( array(), array_diff( $actual, $expected ) ); 265 sort( $expected ); 266 sort( $actual ); 267 $this->assertEquals( $expected, $actual ); 268 } 269 270 function assertEqualSetsWithIndex( $expected, $actual ) { 271 ksort( $expected ); 272 ksort( $actual ); 273 $this->assertEquals( $expected, $actual ); 267 274 } 268 275
Note: See TracChangeset
for help on using the changeset viewer.