Changeset 40542
- Timestamp:
- 04/23/2017 09:34:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase.php
r40541 r40542 389 389 } 390 390 391 // Perform an assertion, but only if there are expected deprecated calls or expected wrongdoings 392 if ( ! empty( $this->expected_deprecated ) || ! empty( $this->expected_doing_it_wrong ) ) { 391 // Perform an assertion, but only if there are expected or unexpected deprecated calls or wrongdoings 392 if ( ! empty( $this->expected_deprecated ) || 393 ! empty( $this->expected_doing_it_wrong ) || 394 ! empty( $this->caught_deprecated ) || 395 ! empty( $this->caught_doing_it_wrong ) ) { 393 396 $this->assertEmpty( $errors, implode( "\n", $errors ) ); 394 397 }
Note: See TracChangeset
for help on using the changeset viewer.