From 7817f8a4ba2f3e47f106a662d52d651008802611 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 19 Jun 2017 05:25:01 +0200 Subject: [PATCH] Add test to ensure that multi-line blocks get matched in PHP --- phpunit/class-dynamic-blocks-render-test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit/class-dynamic-blocks-render-test.php b/phpunit/class-dynamic-blocks-render-test.php index cc2adc4b50dd2..7e557ed73986d 100644 --- a/phpunit/class-dynamic-blocks-render-test.php +++ b/phpunit/class-dynamic-blocks-render-test.php @@ -88,7 +88,7 @@ function test_dynamic_block_rendering_with_content() { register_block_type( 'core/dummy', $settings ); $post_content = 'before' . - 'this should be ignored' . + "this\nshould\n\nbe\nignored" . 'between' . 'this should also be ignored' . 'after';