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:
Sergey Biryukov
2020-09-22 12:32:39 +00:00
parent a9ee47c806
commit 303deffe91
5 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase
$image = $this->resize_helper( DIR_TESTDATA . '/images/test-image.png', 25, 25 );
if ( ! is_string( $image ) ) { // WP_Error, stop GLib-GObject-CRITICAL assertion.
$this->fail( sprintf( 'No PNG support in the editor engine %s on this system', $this->editor_engine ) );
$this->fail( sprintf( 'No PNG support in the editor engine %s on this system.', $this->editor_engine ) );
}
$this->assertSame( 'test-image-25x25.png', wp_basename( $image ) );
@@ -58,7 +58,7 @@ abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase
$image = $this->resize_helper( DIR_TESTDATA . '/images/test-image.gif', 25, 25 );
if ( ! is_string( $image ) ) { // WP_Error, stop GLib-GObject-CRITICAL assertion.
$this->fail( sprintf( 'No GIF support in the editor engine %s on this system', $this->editor_engine ) );
$this->fail( sprintf( 'No GIF support in the editor engine %s on this system.', $this->editor_engine ) );
}
$this->assertSame( 'test-image-25x25.gif', wp_basename( $image ) );