From 2e74ecfc1c7d91783741e735c932307c5ff7c1b1 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 23 Jul 2015 05:17:19 +0000 Subject: [PATCH] Tests: Add a new test file missed in [33359]. git-svn-id: https://develop.svn.wordpress.org/trunk@33391 602fd350-edb4-49c9-b593-d223f7449a82 --- .../tests/formatting/WpReplaceInHtmlTags.php | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php 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