mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-03 22:27:04 +00:00
Docs: Update inline comments in some test files per the documentation standards.
See #52628. git-svn-id: https://develop.svn.wordpress.org/trunk@50491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -89,7 +89,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase {
|
||||
|
||||
$resized = $gd_image_editor->multi_resize( $sizes_array );
|
||||
|
||||
# First, check to see if returned array is as expected
|
||||
// First, check to see if returned array is as expected.
|
||||
$expected_array = array(
|
||||
array(
|
||||
'file' => 'waffles-50x33.jpg',
|
||||
@@ -217,7 +217,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase {
|
||||
* By aspect, should be 30x20 output.
|
||||
*/
|
||||
array(
|
||||
'width' => 9999, # Arbitrary High Value
|
||||
'width' => 9999, // Arbitrary high value.
|
||||
'height' => 20,
|
||||
'crop' => false,
|
||||
),
|
||||
@@ -228,7 +228,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase {
|
||||
*/
|
||||
array(
|
||||
'width' => 45,
|
||||
'height' => 9999, # Arbitrary High Value
|
||||
'height' => 9999, // Arbitrary high value.
|
||||
'crop' => true,
|
||||
),
|
||||
|
||||
@@ -271,7 +271,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase {
|
||||
* By aspect, should be 105x70 output.
|
||||
*/
|
||||
array(
|
||||
'width' => -9999, # Arbitrary Negative Value
|
||||
'width' => -9999, // Arbitrary negative value.
|
||||
'height' => 70,
|
||||
),
|
||||
|
||||
@@ -281,7 +281,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase {
|
||||
*/
|
||||
array(
|
||||
'width' => 200,
|
||||
'height' => -9999, # Arbitrary Negative Value
|
||||
'height' => -9999, // Arbitrary negative value.
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user