Changeset 51367 for trunk/tests/phpunit/tests/comment/getCommentExcerpt.php
- Timestamp:
- 07/07/2021 10:32:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/getCommentExcerpt.php
r50449 r51367 17 17 $excerpt = get_comment_excerpt( $comment_id ); 18 18 19 $this->assert Same( 20, count( explode( ' ', $excerpt )) );19 $this->assertCount( 20, explode( ' ', $excerpt ) ); 20 20 } 21 21 … … 31 31 $excerpt = get_comment_excerpt( $comment_id ); 32 32 33 $this->assert Same( 10, count( explode( ' ', $excerpt )) );33 $this->assertCount( 10, explode( ' ', $excerpt ) ); 34 34 } 35 35
Note: See TracChangeset
for help on using the changeset viewer.