diff --git a/tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php b/tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php new file mode 100755 index 0000000000..f76fe0ac76 --- /dev/null +++ b/tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php @@ -0,0 +1,37 @@ +assertEquals( $output, wp_replace_in_html_tags( $input, array( "\n" => " " ) ) ); + } + + function data_wp_replace_in_html_tags() { + return array( + array( + "Hello \n World", + "Hello \n World", + ), + array( + "", + "", + ), + array( + "", + "", + ), + array( + "", + "", + ), + ); + } +} +?> \ No newline at end of file