- Timestamp:
- 11/04/2021 03:22:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/convertInvalidEntries.php
r51623 r52010 5 5 */ 6 6 class Tests_Formatting_ConvertInvalidEntities extends WP_UnitTestCase { 7 function test_replaces_windows1252_entities_with_unicode_ones() {7 public function test_replaces_windows1252_entities_with_unicode_ones() { 8 8 $input = '‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ'; 9 9 $output = '‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ'; … … 14 14 * @ticket 20503 15 15 */ 16 function test_replaces_latin_letter_z_with_caron() {16 public function test_replaces_latin_letter_z_with_caron() { 17 17 $input = 'Žž'; 18 18 $output = 'Žž'; … … 20 20 } 21 21 22 function test_escapes_lone_ampersands() {22 public function test_escapes_lone_ampersands() { 23 23 $this->assertSame( 'at&t', convert_chars( 'at&t' ) ); 24 24 }
Note: See TracChangeset
for help on using the changeset viewer.