mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-11 08:04:32 +00:00
Tests: Use consistent trailing punctuation in fail() messages.
See #51344. git-svn-id: https://develop.svn.wordpress.org/trunk@49033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -197,7 +197,7 @@ class Tests_Theme extends WP_UnitTestCase {
|
||||
function test_default_theme_in_default_theme_list() {
|
||||
$latest_default_theme = WP_Theme::get_core_default_theme();
|
||||
if ( ! $latest_default_theme->exists() || 'twenty' !== substr( $latest_default_theme->get_stylesheet(), 0, 6 ) ) {
|
||||
$this->fail( 'No Twenty* series default themes are installed' );
|
||||
$this->fail( 'No Twenty* series default themes are installed.' );
|
||||
}
|
||||
$this->assertContains( $latest_default_theme->get_stylesheet(), $this->default_themes );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user