Make WordPress Core


Ignore:
Timestamp:
09/22/2020 12:32:39 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Tests: Use consistent trailing punctuation in fail() messages.

See #51344.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme.php

    r48939 r49033  
    198198        $latest_default_theme = WP_Theme::get_core_default_theme();
    199199        if ( ! $latest_default_theme->exists() || 'twenty' !== substr( $latest_default_theme->get_stylesheet(), 0, 6 ) ) {
    200             $this->fail( 'No Twenty* series default themes are installed' );
     200            $this->fail( 'No Twenty* series default themes are installed.' );
    201201        }
    202202        $this->assertContains( $latest_default_theme->get_stylesheet(), $this->default_themes );
Note: See TracChangeset for help on using the changeset viewer.