Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jul 6, 2022
1 parent e02ea35 commit 198a001
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ function gutenberg_register_test_block_for_feature_selectors() {
'text' => true,
),
'spacing' => array(
'padding' => true,
'padding' => true,
'__experimentalSelector' => '.inner',
),
'typography' => array(
'fontSize' => true,
'typography' => array(
'fontSize' => true,
'__experimentalSelector' => '.sub-heading',
),
'__experimentalSelector' => '.wp-block-test, .wp-block-test__wrapper',
Expand Down
12 changes: 6 additions & 6 deletions phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ function test_get_stylesheet_with_block_support_feature_level_selectors() {
array(
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
'settings' => array(
'border' => array(
'border' => array(
'radius' => true,
),
'color' => array(
'color' => array(
'custom' => false,
'palette' => array(
array(
Expand All @@ -288,7 +288,7 @@ function test_get_stylesheet_with_block_support_feature_level_selectors() {
),
),
),
'spacing' => array(
'spacing' => array(
'padding' => true,
),
'typography' => array(
Expand All @@ -298,13 +298,13 @@ function test_get_stylesheet_with_block_support_feature_level_selectors() {
'styles' => array(
'blocks' => array(
'test/test' => array(
'border' => array(
'border' => array(
'radius' => '9999px',
),
'color' => array(
'color' => array(
'text' => 'green',
),
'spacing' => array(
'spacing' => array(
'padding' => '20px',
),
'typography' => array(
Expand Down

0 comments on commit 198a001

Please sign in to comment.