Skip to content

Commit cb5227d

Browse files
authored
Fix array key formatting in wpMakeThemeFileTree test
1 parent c60501b commit cb5227d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/phpunit/tests/admin/includes/misc/wpMakeThemeFileTree.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public function test_wp_make_theme_file_tree( $allowed_files, $expected ) {
3131
*/
3232
public function data_wp_make_theme_file_tree(): array {
3333
return array(
34-
'empty_list' => array(
34+
'empty_list' => array(
3535
'allowed_files' => array(),
3636
'expected' => array(),
3737
),
38-
'flat_list' => array(
38+
'flat_list' => array(
3939
'allowed_files' => array(
4040
'style.css' => '/path/to/theme/style.css',
4141
'index.php' => '/path/to/theme/index.php',
@@ -45,7 +45,7 @@ public function data_wp_make_theme_file_tree(): array {
4545
'index.php' => 'index.php',
4646
),
4747
),
48-
'nested_list' => array(
48+
'nested_list' => array(
4949
'allowed_files' => array(
5050
'style.css' => '/path/to/theme/style.css',
5151
'inc/header.php' => '/path/to/theme/inc/header.php',
@@ -63,7 +63,7 @@ public function data_wp_make_theme_file_tree(): array {
6363
),
6464
),
6565
),
66-
'deeply_nested_list' => array(
66+
'deeply_nested_list' => array(
6767
'allowed_files' => array(
6868
'a/b/c/d.php' => '/path/to/theme/a/b/c/d.php',
6969
),
@@ -77,7 +77,7 @@ public function data_wp_make_theme_file_tree(): array {
7777
),
7878
),
7979
),
80-
'mixed_nesting' => array(
80+
'mixed_nesting' => array(
8181
'allowed_files' => array(
8282
'index.php' => '/path/to/theme/index.php',
8383
'inc/header.php' => '/path/to/theme/inc/header.php',

0 commit comments

Comments
 (0)