Changeset 48937 for trunk/tests/phpunit/tests/formatting/EscTextarea.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/EscTextarea.php
r46586 r48937 17 17 add_filter( 'pre_option_blog_charset', array( $this, '_charset_iso_8859_1' ) ); 18 18 $iso8859_1 = 'Fran' . chr( 135 ) . 'ais'; 19 $this->assert Equals( $iso8859_1, esc_textarea( $iso8859_1 ) );19 $this->assertSame( $iso8859_1, esc_textarea( $iso8859_1 ) ); 20 20 remove_filter( 'pre_option_blog_charset', array( $this, '_charset_iso_8859_1' ) ); 21 21 } … … 31 31 add_filter( 'pre_option_blog_charset', array( $this, '_charset_utf_8' ) ); 32 32 $utf8 = 'Fran' . chr( 195 ) . chr( 167 ) . 'ais'; 33 $this->assert Equals( $utf8, esc_textarea( $utf8 ) );33 $this->assertSame( $utf8, esc_textarea( $utf8 ) ); 34 34 remove_filter( 'pre_option_blog_charset', array( $this, '_charset_utf_8' ) ); 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.