mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Tests: Remove trailing commas in function calls in _wp_array_get() tests.
This fixes parse errors on PHP 7.2 and lower versions. Follow-up to [49143], [49144], [49580], [50964]. See #51461, #51720, #52625. git-svn-id: https://develop.svn.wordpress.org/trunk@50970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -68,7 +68,7 @@ class Tests_Functions_wpArrayGet extends WP_UnitTestCase {
|
||||
array(
|
||||
'key' => 4,
|
||||
),
|
||||
array( 'key' ),
|
||||
array( 'key' )
|
||||
),
|
||||
4
|
||||
);
|
||||
@@ -79,7 +79,7 @@ class Tests_Functions_wpArrayGet extends WP_UnitTestCase {
|
||||
array(
|
||||
'key' => 4,
|
||||
),
|
||||
array( 'invalid' ),
|
||||
array( 'invalid' )
|
||||
),
|
||||
null
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user