Make WordPress Core


Ignore:
Timestamp:
09/21/2020 02:05:23 PM (6 years ago)
Author:
SergeyBiryukov
Message:

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

See #51344.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/db/charset.php

    r48937 r49027  
    514514                $charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
    515515                if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
    516                         $this->markTestSkipped( 'This test requires a utf8 character set' );
     516                        $this->markTestSkipped( 'This test requires a utf8 character set.' );
    517517                }
    518518
     
    641641                $charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
    642642                if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
    643                         $this->markTestSkipped( 'This test requires a utf8 character set' );
     643                        $this->markTestSkipped( 'This test requires a utf8 character set.' );
    644644                }
    645645
     
    947947                $charset = $wpdb->get_col_charset( $wpdb->posts, 'post_content' );
    948948                if ( 'utf8' !== $charset && 'utf8mb4' !== $charset ) {
    949                         $this->markTestSkipped( 'This test requires a utf8 character set' );
     949                        $this->markTestSkipped( 'This test requires a utf8 character set.' );
    950950                }
    951951
     
    10461046                $tablename = 'test_cp1251_query_' . rand_str( 5 );
    10471047                if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) {
    1048                         $this->markTestSkipped( "Test requires the 'cp1251' charset" );
     1048                        $this->markTestSkipped( "Test requires the 'cp1251' charset." );
    10491049                }
    10501050
     
    10631063                $tablename = 'test_cp1251_query_' . rand_str( 5 );
    10641064                if ( ! self::$_wpdb->query( "CREATE TABLE $tablename ( a VARCHAR(50) ) DEFAULT CHARSET 'cp1251'" ) ) {
    1065                         $this->markTestSkipped( "Test requires the 'cp1251' charset" );
     1065                        $this->markTestSkipped( "Test requires the 'cp1251' charset." );
    10661066                }
    10671067
Note: See TracChangeset for help on using the changeset viewer.