Skip to content

Commit 5dbe308

Browse files
committed
Fix typos in test cases
1 parent acb4d50 commit 5dbe308

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/parser/test-synced-patterns.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public function test_synced_pattern_with_deeply_nested_content() {
329329
$this->assertEquals( 1, count( $blocks['blocks'][0]['innerBlocks'] ), 'Too many inner blocks in synced pattern' );
330330
}
331331

332-
/* Synced pattern with sourced attributen nested content */
332+
/* Synced pattern with sourced attribute in nested content */
333333

334334
public function test_synced_pattern_with_sourced_attribute_in_nested_content() {
335335
$this->register_block_with_attributes( 'test/custom-block', [
@@ -415,7 +415,7 @@ public function test_synced_pattern_with_sourced_attribute_in_nested_content() {
415415
public function test_synced_pattern_with_override_in_nested_content() {
416416
$synced_pattern_content = '
417417
<!-- wp:group -->
418-
<div class=k"wp-block-group">
418+
<div class="wp-block-group">
419419
<!-- wp:group -->
420420
<div class="wp-block-group">
421421
<!-- wp:paragraph {"metadata":{"bindings":{"__default":{"source":"core/pattern-overrides"}},"name":"my-override"}} -->
@@ -522,7 +522,7 @@ public function test_multiple_nested_synced_patterns_with_block_bindings() {
522522

523523
$synced_pattern_content_1 = '
524524
<!-- wp:group -->
525-
<div class=k"wp-block-group">
525+
<div class="wp-block-group">
526526
527527
<!-- wp:test/custom-block -->
528528
<p data-bing="bong">My first synced pattern content</p>
@@ -548,7 +548,7 @@ public function test_multiple_nested_synced_patterns_with_block_bindings() {
548548

549549
$synced_pattern_content_2 = sprintf( '
550550
<!-- wp:group -->
551-
<div class=k"wp-block-group">
551+
<div class="wp-block-group">
552552
553553
<!-- wp:test/custom-block -->
554554
<p data-bing="bang">My second synced pattern content which contains the first</p>

0 commit comments

Comments
 (0)