Changeset 42343 for trunk/tests/phpunit/tests/formatting/WpRichEditPre.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/WpRichEditPre.php
r32912 r42343 17 17 function test_wp_richedit_pre_charset_iso_8859_1() { 18 18 add_filter( 'pre_option_blog_charset', array( $this, '_charset_iso_8859_1' ) ); 19 $iso8859_1 = 'Fran' . chr(135) .'ais';19 $iso8859_1 = 'Fran' . chr( 135 ) . 'ais'; 20 20 $this->assertEquals( '<p>' . $iso8859_1 . "</p>\n", wp_richedit_pre( $iso8859_1 ) ); 21 21 remove_filter( 'pre_option_blog_charset', array( $this, '_charset_iso_8859_1' ) ); … … 31 31 function test_wp_richedit_pre_charset_utf_8() { 32 32 add_filter( 'pre_option_blog_charset', array( $this, '_charset_utf_8' ) ); 33 $utf8 = 'Fran' . chr(195) . chr(167) .'ais';33 $utf8 = 'Fran' . chr( 195 ) . chr( 167 ) . 'ais'; 34 34 $this->assertEquals( '<p>' . $utf8 . "</p>\n", wp_richedit_pre( $utf8 ) ); 35 35 remove_filter( 'pre_option_blog_charset', array( $this, '_charset_utf_8' ) );
Note: See TracChangeset
for help on using the changeset viewer.