Skip to content

Commit

Permalink
Add test to ensure that multi-line blocks get matched in PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jun 19, 2017
1 parent 08bcffa commit 7817f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/class-dynamic-blocks-render-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function test_dynamic_block_rendering_with_content() {
register_block_type( 'core/dummy', $settings );
$post_content =
'before' .
'<!-- wp:core/dummy value="b1" -->this should be ignored<!-- /wp:core/dummy -->' .
"<!-- wp:core/dummy value=\"b1\" -->this\nshould\n\nbe\nignored<!-- /wp:core/dummy -->" .
'between' .
'<!-- wp:core/dummy value="b2" -->this should also be ignored<!-- /wp:core/dummy -->' .
'after';
Expand Down

0 comments on commit 7817f8a

Please sign in to comment.