- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/WpReplaceInHtmlTags.php
r33425 r42343 11 11 */ 12 12 function test_wp_replace_in_html_tags( $input, $output ) { 13 return $this->assertEquals( $output, wp_replace_in_html_tags( $input, array( "\n" => " ") ) );13 return $this->assertEquals( $output, wp_replace_in_html_tags( $input, array( "\n" => ' ' ) ) ); 14 14 } 15 15 … … 22 22 array( 23 23 "<Hello \n World>", 24 "<Hello World>",24 '<Hello World>', 25 25 ), 26 26 array( 27 27 "<!-- Hello \n World -->", 28 "<!-- Hello World -->",28 '<!-- Hello World -->', 29 29 ), 30 30 array( 31 31 "<!-- Hello <\n> World -->", 32 "<!-- Hello < > World -->",32 '<!-- Hello < > World -->', 33 33 ), 34 34 ); 35 35 } 36 36 } 37 ?> 37
Note: See TracChangeset
for help on using the changeset viewer.